[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Changing middle-click to right-click?
From: |
Rusi |
Subject: |
Re: Changing middle-click to right-click? |
Date: |
Fri, 21 Aug 2015 06:01:23 -0700 (PDT) |
User-agent: |
G2/1.0 |
On Friday, August 21, 2015 at 6:13:10 PM UTC+5:30, Sharon Kimble wrote:
> Rusi writes:
>
> > On Friday, August 21, 2015 at 5:27:25 PM UTC+5:30, Rusi wrote:
> >> On Friday, August 21, 2015 at 6:37:09 AM UTC+5:30, HASM wrote:
> >> > > I'm finding middle-clicking for checking spelling and choosing the
> >> > > correct spelling, increasingly problematic. How can I change the
> >> > > 'middle-click' to a 'right-click', system-wide, please?
> >> >
> >> > Linux/X?
> >> > Something like (for a three button mouse):
> >> > echo 'pointer = 1 3 2' |xmodmap - 1>/dev/null 2>&1
> >> >
> >> > -- HASM
> >>
> >> xmodmap is increasingly obsolete and broken
> >>
> >> I think xinput is what you need to use.
> >> See https://wiki.ubuntu.com/X/Config/Input
> >> Unfortunately those examples seem broken and need small fixes
> >
> > [Sorry clicked 'Send' too soon]
> > In the section
> > Example: Disabling middle-mouse button paste on a scrollwheel mouse
> > the xinput call needs an additional <id> parameter before the actual map
>
> I'm sorry, I missed out one *vital* element of my question, I meant to say
> change "button 3" with "button 2" in *emacs* only. This would mean that
> I can "right-click" on a misspelled word and it shows me a popup list,
> and that is where I'm needing the mouse changes, just in spell-checking.
So then Tomas' solution works right?
ie use C-h k to find the current bindings and then rebind ?
>
> Sorry
?About?