Enabling Numlock keys on startup in Ubuntu


Ensure that numlockx is installed:

sudo apt-get install numlockx

Edit the file /etc/lightdm/lightdm.conf

gksudo gedit /etc/lightdm/lightdm.conf

Add the following line to the file:

greeter-setup-script=/usr/bin/numlockx on

Source: http://askubuntu.com/questions/155679/how-to-enable-numlock-at-boot-time-for-login-screen


for 14.04

Yes, use locate command as follow:
locate 50-unity-greeter.conf
The output is:
/usr/share/lightdm/lightdm.conf.d/50-unity-greeter.conf
So, the file you need to edit is the above file.
sudo apt-get install numlockx
gksu gedit /usr/share/lightdm/lightdm.conf.d/50-unity-greeter.conf
Add this line at the end of file:
greeter-setup-script=/usr/bin/numlockx on

No comments:

Post a Comment