Posts Tagged ‘startup’

Enable numlock at startup

Tuesday, June 7th, 2011

Source: http://ubuntuguide.net/enable-number-pad-numlock-at-startup-in-ubuntu-login-window

It’s really annoying when NumLock isn’t turned on.  Of course, by default it is disabled on startup.  Here’s how to fix that:

Install numlockx by this command in terminal(Applications/Accessories/Terminal):

sudo apt-get install numlockx

edit /etc/gdm/Init/Default with your favourite editor:

sudo gedit /etc/gdm/Init/Default

add following above the last line which says exit 0:

if [ -x /usr/bin/numlockx ]; then
/usr/bin/numlockx on
fi