Enable Number pad NumLock at startup in Ubuntu Login Window
Posted Under: General
If you need to input password to login ubuntu and there are numbers in the password,it’s very annoying that you need to press NumLock key to enable number pad every time you login.
Here’s how to enable NumLock when startup into login window.
For Ubuntu Gnome and Xubuntu XFCE (GDM)
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
For KDE
Similar to GDM,edit /etc/kde4/kdm/Xsetup (if you are still running kde3 you will want to edit /etc/kde3/kdm/Xsetup instead) and add the following code to it:
if [ -x /usr/bin/numlockx ]; then
/usr/bin/numlockx on
fi
For more,see:https://help.ubuntu.com/community/NumLock
Related posts:
- How to Turn off/down/up login sound when Ubuntu Gnome startup
- Change Login window theme in Ubuntu 9.10/10.04 and higher
- Change ubuntu login window theme
- Enable Auto Login in ubuntu
- ComputerTip:Use Number Pad as Mousekeys to Move cursor on the screen

Reader Comments
Thank you so much. It works.=)
[Reply]