The numlock and capslock keyboard light toggling crashes my computer (this is not the subject of the question). I am trying to deactivate these two keys at startup. I modified the /etc/default/keyboard file with the following and it works for capslock:
sudo nano /etc/default/keyboard
XKBOPTIONS="ctrl:nocaps"
Is there an equivalent to this command for numlock? I could not figure it out.
grp_led:numbut that looks kind of confusing if it turns on or off the numlock. I recommend usingnumlockxbut changing the command toofffound in the second answer at https://askubuntu.com/questions/155679/how-to-enable-numlock-at-boot-time-for-login-screen or if the second one doesn't work, try the third answer. – Terrance Jan 17 '18 at 14:43