Hey this worked it is fun when you get stuff to work.
Enabling NUM Lock at boot
The Default behaviour is for the NUM Lock key to be off at boot up, but if you wish to have it enabled for entering your login password, follow these instructions.
From Synaptic Package Manager, search for and install numlockx or, from the Terminal type or copy and paste:
Code:
sudo apt-get install numlockx
To get it working, you now have to edit the appropriate startup file. First, make sure you have a working backup of the file, in a Terminal type or copy and paste:
Code:
sudo cp /etc/gdm/Init/Default /etc/gdm/Init/Default.bak
Next, modify the gdm/Init file. In a Terminal type or copy and paste;
Code:
gksudo gedit /etc/gdm/Init/Default
Scroll down to the end of the file, and above the line that says “exit 0″ add the following:
Code:
if [ -x /usr/bin/numlockx ]; then
/usr/bin/numlockx on
fi
Save the file then, next time you reboot, your NUM LOCK should default to “on".
Keeping Num Lock on afetr login:
Open [System], [Preferences], [Startup Applications], click on and type numlockx in the 1st box numlockx in the 2nd box and Keeps Num Lock on after login in the 3rd box, then click on [Add]. now restart your PC.
copied from martin's ubuntu blog
Bookmarks