When I type this in a terminal I can disable the "num lock"
xmodmap -e "keycode 77 = """
Now I want to disable it on startup. I type,
sudo crontab -e
It opens a nano page in which I type
@reboot ~/.xmodmap -e "keycode 77 = """
Or
@reboot xmodmap -e "keycode 77 = """
But neither one works. what is the problem here?
cron
should be involved at all. – thanasisp Dec 08 '20 at 17:00My Ubuntu does not have "keyboard preference" (or Settings > Keyboard Layout > Options > Miscellaneous compatibility options) so I could not use https://help.ubuntu.com/community/NumLock.
– Kian Maleki Dec 08 '20 at 17:49