Useful tip on how to get the numlock on by default at the login screen. This tip shows you how to get the numlock enabled at the login screen for the following distributions:
Lubuntu
Peppermint
Linux Mint
LXLE
Although it can be set to enabled in some configuration managers, it doesn't always work. Some distributions doesn't even offer a setting to have the numlock on at the login screen. To get it enabled by default a file has to be modified manually and to do so, follow the steps below:
Open a terminal and type (or copy/paste) the following terminal command:
sudo apt-get install numlockx
Follow the instructions given in the terminal screen
When the installation procedure is finished, type the following terminal command:
For distro's using gedit:
gksudo gedit /etc/default/numlockx
For distros' using pluma:
gksudo pluma /etc/default/numlockx
For distro's using leafpad:
gksudo leafpad /etc/default/numlockx
In the file will be opened and in this file search for the line:
NUMLOCK=auto
Change this line into:
NUMLOCK=on
Save and close the file. To make sure this tweak works log off and log back in.