How to turn numlock on automatically at login

Some Linux distros choose not to enable numlock at login by default. To enable it, install the numlockx package and then add the following lines to the /etc/gdm/Init/Default file, above the exit 0 line at the end:

if [ -x /usr/bin/numlockx ]; then
    /usr/bin/numlockx on
fi
Thursday 4th December 2008 at 3:17 a.m.
Tagged under: Linux

Comments

Offline reaper Male
Joined: 10th May 2009
Posts: 1
Posted on Sunday 10th May 2009 at 1:28 p.m.

Thanks heaps!! ;D Helps alot with my super random passwords =D


You must be logged in to post a comment.