HOWTO: Debian 7 (Wheezy) LXDE Auto Numlock, both BEFORE and AFTER login
These days, I'm getting more and more questions from people who own fairly old computers that have been running (or, often, rather crawling) Windows XP so far. Instead of dumping their old hardware and buying new PCs with the dreaded Windows 8 system, they come and ask me if there isn't anything I can do to revive their computers.
Since these computers are not particularly powerful, I went looking for a fairly lightweight desktop, and I opted for LXDE, specifically the Debian 7 Wheezy LXDE distribution. Most people appear quite happy about this choice, except that I kept getting one complaint over and over again: "The numeric keypad doesn't work!" Actually, this issue is a simple matter of NumLock being turned off by default, and of hitting the NumLock key to turn it on. One additional inconvenience, as it turned out, was that NumLock was automatically turned off before login, and (even after it was manually turned on at the login screen) it was turned off again after the login process was completed. This behaviour was getting on people's nerves, so I went looking for a solution. This post serves to document the solution that I have come up with. First, it is important to understand which Display Manager your system is running. You can find this out with the following command: Code:
cat /etc/X11/default-display-manager
To ensure that NumLock will be turned ON again once you are logged in, you will need to make one more edit: Still as root, add the following line to the file "/etc/xdg/lxsession/LXDE/autostart": Code:
/usr/bin/numlockx on From now on, NumLock will be turned on not only when the login screen is displayed, but also after the user logs in to start the LXDE desktop environment. |
Hi luvr, it's been ages since I read anything you wrote (on another forum) but your clear and concise style has never changed. Good to see you're still working as hard as ever.
|
Quote:
|
Very clear and concise. Thanks a lot.
Only thing that you need to do is mark this thread as solved so that folks that use the forum search function will find it and use it. |
All times are GMT -5. The time now is 07:47 AM. |