Enable NumLock in Ubuntu 14.04
When you start your Ubuntu post, the keypad lock is enabled by default, it's very convenient when you have a laptop with a keyboard without the numeric keypad, but when you have a computer with a keyboard 112 keys and it can become annoying. The solution that I will describe below is valid for version greater than or equal to Ubuntu 14.04.
To start you must install numlockx is a small tool that allows the terminal to enable and disable the Num Lock:
sudo apt-get install numlockx
Once installation is complete, you can check the operation of the executable by typing the following line in your terminal
numlockx on numlockx off
If no error is thrown and the light of the Num Lock on your keyboard changes state is that everything is ok. It remains only to perform the activation line at boot time, for that Provide with your favorite editor and edit the following file: /usr/share/lightdm/lightdm.conf.d/50-unity- greeter.conf. Add the following line save and reboot.
greeter-setup-script=/usr/bin/numlockx on
Voila.