> I would like to have the number lock automatically goes on when I log on
Okay, got it working. For those intersted, here's what I had to do…
First, go to http://www.justlinux.com/nhf/Hardwa…to_Stay_On.html and download the numlockx file. follow his intsructions to compile and install (very simple, even for the total newbie). Now, when it comes to creating/editing the .xinitrc file, that part did not get it starting automatically for me.
I had to, using Gnome, open the preferences->More Preferences-> Sessions manager, and on the startup programs tab, choose "add" and enter numlockx. Set the order for it to very high, I used 75, so it starts absolutely last. If you dont do this it hangs things and gives problems.
Reboot or Log out/in, and all should be well.
jeffreybluml 03-28-2004
http://www.justlinux.com/nhf/Hardware/How_to_Get_the_NumLock_Key_to_Stay_On.html
You would think that if you set the default setting to on in the console, that it would carry over to you X server, but NO. That would not be that easy. (Hopefully they will fix this in future versions) As of now the only way I know how to do this is with the help of a little program called numlockx.
numlockx - enable NumLock in X11 sessions
You can find numlockx at http://dforce.sh.cvut.cz/~seli/en/numlockx/ or I have also placed a copy at my website http://ourworld.cs.com/kvsmaster/files/numlockx-1.0.tar.gz.
then put in your .xinitrc file:
numlockx on &