FAQ: How to disable/remap a keyboard key in Linux?

Is your first time on TechnoSNACK? Subscribe our feeds!  


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

xev

The full...

[Read more →]

SOURCE: http://www.linuxscrew.com

Discussion Area - Leave a Comment