Followers

Saturday, August 28, 2010

How to turn on Num Lock on GNOME startup - Ubuntu Tips n Tricks

How to turn on Num Lock on GNOME startup

sudo aptitude install numlockx
sudo cp /etc/X11/gdm/Init/Default /etc/X11/gdm/Init/Default_backup
gksudo gedit /etc/X11/gdm/Init/Default
  • Find this line
...
exit 0
  • Add the following lines above it
if [ -x /usr/bin/numlockx ]; then
 /usr/bin/numlockx on
fi
  • Save the edited file

No comments:

Post a Comment