Last active
January 17, 2016 09:24
-
-
Save danielgindi/6ad65be3f2ea17bf14b2 to your computer and use it in GitHub Desktop.
Enable NumLock on Ubuntu by default
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get -y install numlockx | |
sudo sed -i 's|^exit 0.*$|# Numlock enable\n[ -x /usr/bin/numlockx ] \&\& numlockx on\n\nexit 0|' /etc/rc.local | |
# http://askubuntu.com/questions/155679/how-to-enable-numlock-at-boot-time-for-login-screen |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment