FAQ: How to disable/remap a keyboard key in Linux?
Q: How can I disable one or several keys of my laptop keyboard in Linux? When I press DELETE key it gets stuck and deletes everything
A: No problem! You can use the following command to remap or disable any key of your keyboard:
xmodmap -e 'keycode <value>=<action>'
For example, run the following to disable your DELETE key: xmodmap -e 'keycode 107='. BTW you can get keycode that corresponds to certain keyboard button by using simple command xev
The full list of available keycodes and actions assigned to them on UK keyboard is below…
Continue reading...
Related PostsAdjust LCD brightness from command lineFun: Bill Gates quotesCopy files from Windows or Mac to Linux safely...







