[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Changing middle-click to right-click?
From: |
Sharon Kimble |
Subject: |
Re: Changing middle-click to right-click? |
Date: |
Fri, 21 Aug 2015 13:43:20 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5.50 (gnu/linux) |
Rusi <rustompmody@gmail.com> 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.
Sorry
Sharon.
--
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
Debian 8.0, fluxbox 1.3.7, emacs 24.5.50.3
signature.asc
Description: PGP signature