2014-12-18 17:50 GMT+01:00, Patrick O'Callaghan <pocallaghan(a)gmail.com>:
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(a)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.
You mean you ran it in a terminal, and it worked there but not in a
browser running beside it?
I'm baffled!
But I'm not surprised about the .xsession file. I never know what's
run when (I don't really need to, because I don't boot too often and
then I can just manually "sh my-xmods").
Andras