Jaunty : Enabling NUM Lock at boot & after login

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:

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:

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;

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:

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 add 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.

Advertisements

Tags: , , ,

One Response to “Jaunty : Enabling NUM Lock at boot & after login”

  1. Carsten Says:

    Thank You!
    That was exactly I was looking for!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: