03-28-2015, 04:53 PM
Press Ctrl+Alt+T to open Terminal
First you need to install the package numlockx. Type in:
Then you need to change /etc/lightdm/lightdm.conf file
Two ways to do it:
1. Run this command:
It will add this line greeter-setup-script=/usr/bin/numlockx on at the end of the file.
2. Open /etc/lightdm/lightdm.conf file with superuser privileges
then add this line to the end of the /etc/lightdm/lightdm.conf file
Additional info:
greeter-setup-script=/usr/bin/numlockx off
will disable Numlock on login screen
First you need to install the package numlockx. Type in:
Code:
sudo apt-get install numlockx
Two ways to do it:
1. Run this command:
Code:
sudo sh -c "printf '\ngreeter-setup-script=/usr/bin/numlockx on' >> /etc/lightdm/lightdm.conf"
2. Open /etc/lightdm/lightdm.conf file with superuser privileges
Code:
sudo leafpad /etc/lightdm/lightdm.conf
Code:
greeter-setup-script=/usr/bin/numlockx on
Additional info:
greeter-setup-script=/usr/bin/numlockx off
will disable Numlock on login screen
Code:
sudo leafpad /etc/lightdm/lightdm.conf