Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Gentoo: User

xmodmap question

 

 

Gentoo user RSS feed   Index | Next | Previous | View Threaded


dsoper at uoregon

Sep 9, 2004, 1:06 PM

Post #1 of 3 (51 views)
Permalink
xmodmap question

Hi all,

I moved my mouse to the left side of the keyboard to deal with some
carpal issues :-( and went to use xmodmap to change the button
orientation. When I entered "xmodmap -e "pointer = 3 2 1", I got a
message saying "bad number of buttons, must have 5 instead of 3".
Unfortunately, I have a 3-button mouse.

The mouse is a logitech USB optical scroll mouse, and the relevant info
in my XF86 config file is:

Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "4 5"

The ZAxisMapping is for the scroll button. How do I handle this when I
switch the mouse buttons?

Cheers,
Dennis
--
Dennis Soper dsoper [at] uoregon
Network Supervisor
Facilities Services-- The University of Oregon
1276 University of Oregon phone: 541-346-2286
Eugene, OR 97403 fax: 541-346-2299

****Please note that my email address has changed.****
****Update your address book to dsoper [at] uoregon****


--
gentoo-user [at] gentoo mailing list


ti.liame at email

Sep 9, 2004, 1:50 PM

Post #2 of 3 (50 views)
Permalink
Re: xmodmap question [In reply to]

On Thursday 09 September 2004 22:06, dsoper [at] uoregon wrote:
> Hi all,
>
> I moved my mouse to the left side of the keyboard to deal with some
> carpal issues :-( and went to use xmodmap to change the button
> orientation. When I entered "xmodmap -e "pointer = 3 2 1", I got a
> message saying "bad number of buttons, must have 5 instead of 3".
> Unfortunately, I have a 3-button mouse.
>
> The mouse is a logitech USB optical scroll mouse, and the relevant
> info in my XF86 config file is:
>
> Driver "mouse"
> Option "Protocol" "IMPS/2"
> Option "Device" "/dev/mouse"
> Option "ZAxisMapping" "4 5"
>
> The ZAxisMapping is for the scroll button. How do I handle this when
> I switch the mouse buttons?

try:

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

If buttons 4 and 5 are specified in "Option" section, xmodmap expect
them to be there...

Cheers
Francesco
--
Linux Version 2.6.7, Compiled #5 Wed Jul 28 08:20:28 CEST 2004
One 1.53GHz AMD Athlon XP Processor, 1.5GB RAM, 3022.84 Bogomips Total
macula.fastwebnet.it

--
gentoo-user [at] gentoo mailing list


singularity at wi

Sep 12, 2004, 12:02 PM

Post #3 of 3 (50 views)
Permalink
Re: xmodmap question [In reply to]

Try :

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

Bob



dsoper [at] uoregon wrote:

>Hi all,
>
>I moved my mouse to the left side of the keyboard to deal with some
>carpal issues :-( and went to use xmodmap to change the button
>orientation. When I entered "xmodmap -e "pointer = 3 2 1", I got a
>message saying "bad number of buttons, must have 5 instead of 3".
>Unfortunately, I have a 3-button mouse.
>
>The mouse is a logitech USB optical scroll mouse, and the relevant info
>in my XF86 config file is:
>
> Driver "mouse"
> Option "Protocol" "IMPS/2"
> Option "Device" "/dev/mouse"
> Option "ZAxisMapping" "4 5"
>
>The ZAxisMapping is for the scroll button. How do I handle this when I
>switch the mouse buttons?
>
>Cheers,
>Dennis
>
>



--
gentoo-user [at] gentoo mailing list

Gentoo user RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.