Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

In ubuntu 13.10 in order to install numlockx you had to run:
sudo apt-get install numlockx
After you install numlockx you had to run:
gksudo gedit /etc/lightdm/lightdm.conf
At the end of this file you had to enter greeter-setup-script=/usr/bin/numlockx on
In 14.04 when you run gksudo gedit /etc/lightdm/lightdm.conf it opens up a blank file....
How do i set up numlockx in 14.04?

I have also tried to follow this answer but that did not work either.

share|improve this question

1 Answer 1

For Lubuntu 14.04 I edited the file ~/.config/lxsession/Lubuntu/autostart and appended the line:

@/usr/bin/numlockx on
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.