How to have Num Lock Key on at startup

Asked by Robert L. Kolesar Sr. on 2010-10-05

Is there a way to make the Num Lock key turn on when the ubuntu login screen displays? I have numbers as part of my password and like to use the numbers key pad to enter them. I can set it up in Windows, but haven't found a way to do it in ubuntu.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu numlockx Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
2010-10-06
Last query:
2010-10-06
Last reply:
2010-10-05

Thanks actionparsnip. There was somewhat confusing memos on that link, but what ended up working for me was:

sudo apt-get install numlockx
sudo cp /etc/gdm/Init/Default /etc/gdm/init/Default_backup
sudo gedit /etc/gdm/Init/Default

* Find this line

exit 0

*Add the following line above it

/usr/bin/numlockx on

Thanks actionparsnip, that solved my question.