Q. How do I make sure that numlock is always turn on GNOME Linux desktop system?
A. You need to install numlockx package, which enable NumLock in X11 sessions.
This little software allows you to start X with NumLock turned on which is a feature that a lot of people seem to miss and nobody really knew how to achieve this.
To install numlockx type the command:
# apt-get install numlockx
Now open your /etc/X11/gdm/Init/Default file and add line:
/usr/bin/numlockx on
Save and close the file.
You can also add line to /etc/X11/xinit/xinitrc. Open file:
# vi /etc/X11/xinit/xinitrc
At the beginning of file add line
/usr/bin/numlockx on
Save and close the file.
If you're not root (or don't have access to root account) and therefore you can modify neither config file, you can use your ~/.xinitrc ( in your home directory /home/you/.xinitrc file).
$ cd
$ vi .xinitrc
Append following line
/usr/bin/numlockx on
Save and close the file.
Reboot the system or restart the GNOME.
Featured Articles:
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- My 10 UNIX Command Line Mistakes
- 10 Greatest Open Source Software Of 2009
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- Top 20 OpenSSH Server Best Security Practices
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Linux Video Editor Software
- Email FAQ to a friend
- Download PDF version
- Printable version
- Comment RSS feed
- Last Updated: 09/12/06


{ 0 comments… add one now }