Disabling a specific key

Andras Simon szajmi at gmail.com
Thu Dec 18 14:54:48 UTC 2014


2014-12-18 14:35 GMT+01:00, Patrick O'Callaghan <pocallaghan at gmail.com>:
> I have a keyboard (Microsoft Wireless 800) which has an Insert key right
> beside the Backspace and I keep hitting it by accident and changing the
> insert mode of whatever I'm typing. I want to disable this key
> completely as I can think of no circumstance in which it would ever be
> useful. If it can't be disabled I would consider remapping it to a
> second Backspace.
>
> Any ideas? I'm using KDE under F21 but I would hope for a general
> solution to this.

I would use xmodmap for this:

xmodmap -e "keycode <your_key_code_here> =  NoSymbol"

(or something along these lines). You can find out the key code with xev.

Andras


More information about the users mailing list