Skip to content

Instantly share code, notes, and snippets.

@luisfc
Last active April 6, 2017 20:08
Show Gist options
  • Save luisfc/11e533ff2c300631cda4da97d30bd3a4 to your computer and use it in GitHub Desktop.
Save luisfc/11e533ff2c300631cda4da97d30bd3a4 to your computer and use it in GitHub Desktop.
Enable numlock when ubuntu boot
#Ensure that numlockx is installed:
sudo apt-get install numlockx
#Edit as root user the next file
sudo vi /usr/share/lightdm/lightdm.d/50-ubuntu.conf
or
sudo vi /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf
#Add the following line to the end of the file
greeter-setup-script=/usr/bin/numlockx on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment