How to disable keys from the keyboard?
i want to disable a key and my question is beeing aswered in the linked thread. however i have an additinal question:
is there a way to findout the keycode of a specific key in ubuntu 17.10?
How to disable keys from the keyboard?
i want to disable a key and my question is beeing aswered in the linked thread. however i have an additinal question:
is there a way to findout the keycode of a specific key in ubuntu 17.10?
Yeah, xev should do the trick. If I'm remembering right you can find it in the x11-utils package. Run xev and press the keys you want, it'll spit out a bunch of info for each event:
For just keyboard events, you should launch it in a terminal with xev -event keyboard to tell it to ignore non-keyboard events like mouse moves.