Disabling a specific key

Patrick O'Callaghan pocallaghan at gmail.com
Thu Dec 18 16:50:43 UTC 2014


On Thu, 2014-12-18 at 16:27 +0000, Patrick O'Callaghan wrote:
> On Thu, 2014-12-18 at 15:54 +0100, Andras Simon wrote:
> > 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.
> 
> Thanks, I'll try that.

Well it worked on a command line, but not in a browser window. I put it
in my .xsession file and logged out and in again, to no avail.

I'll ask again on the KDE list in case it's something KDE-specific.

poc



More information about the users mailing list