[wellylug] Swapping mouse buttons

Rob Stockley wellylug at mowgli.net.nz
Wed Feb 23 21:24:35 NZDT 2005


Rob Stockley wrote:

> Grant McLean wrote:
>
>> Hi All
>>
>> I thought I'd give my right arm a rest and use the mouse with my left
>> for a while.  So I went into the GNOME Desktop Preferences -> Mouse
>> Preferences and selected Left-handed Mouse.
>>
>> I was quite surprised to find that it hadn't swapped the buttons.
>> Eventually, I realised that in fact the buttons had been swapped, but
>> only on the primary pointer device - the laptop's Synaptic touchpad.
>>
>> Does anyone know if it's possible to swap the buttons on pointer devices
>> independently? 
>>  
>>
> xmodmap -e "pointer = 3 2 1"
>
Sorry. Now that I read your xf86config that should probably be:

xmodmap -e "pointer = 3 2 1 4 5"

It should probably go in your Xsession script.


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 266.4.0 - Release Date: 22/02/2005




More information about the wellylug mailing list