Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I have been searhing google for a way the change the startup default of linux to numlock, since I use the keypad a lot. I was able to change /etc/rc.d/rc.local so that it numlocks when loading the console, but I want a clean way for X to do this as well. In the same site they mentioned downloading a .tar.gz file, but I can't imagine that this is the only way to do such a simple thing!
Thanks a bunch,
Samer

If you are using KDE then to turn on numlock at startup:
Select menu: Preferences / Peripherals / Keyboard
Click Advanced tab
In Numlock on KDE startup Select Turn onI have not found a way to do it in GNOME.
If you insist on using GNOME then I found a program called numlockx that works with RedHat. You can get it at: http://lea-linux.org/xwindow/numlock.php3
The site is in French. The instructions in English are:1) download numlockx-0.2.tar.gz (look for the source link)
2) uncompress numlockx
$ tar xzf numlockx-0.2.tar.gz
3) build and install numlockx
$ cd numlockx-0.2
$ ./configure
$ make
$ su -c "make install"
4) syntax for numlockx
to turn numlock on:
$ numlockx on
to turn numlock off:
$ numlockx off
5) to activate "numlockx on" at boot time add to file: /etc/X11/xdm/Xsetup_0if [ -x /usr/X11R6/bin/numlockx ]; then
/usr/X11R6/bin/numlockx on
fiNote the $ signs just indicates where a linux prompt wouuld be. Just ignore it.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |