Ubuntu – Ubuntu 16.04 – Turn NumLock on and disable NumLock key permanently


As the title suggests, I'm looking for a way to turn NumLock on and disable the NumLock key permanently. There is a solution here: https://help.ubuntu.com/community/NumLock, but I've not been able to find the "keyboard layout options" menu in Ubuntu 16.04 (there's only "Keyboard" and "Text Entry" in System Settings). The other thing I've tried is add the following commands to Startup Applications:

numlockx on && xmodmap -e "keycode 77 = """

This does not work either, and causes errors on startup. Is there a nice clean way to get this done?


Best Answer

  • After a bit of searching, I seem to have found a solution - Install "Gnome tweak tools" and under Typing-->Miscellaneous Compatibility Options, set "Numeric keypad keys always enter digits".