Thoughts on mouse buttons

Andreas Simon yuipx at gmx.net
Tue Sep 21 10:22:55 UTC 2004


On Tue, 2004-09-21 at 03:09 -0500, J.B. Nicholson-Owens wrote:
>  > Is there any *known to work* equivalent for linux?
> 
> I know of no such equivalent.

What about imwheel? I have configured it in such a way that the two
thumb buttons of my Intellimouse emit Alt_L|Right and Alt_L|Left for
Mozilla browsers which is also the standard for Microsoft, i.e. the
thumb buttons act as backward or forward in the browser history. For
kmail they emit plus and minus to switch the the next or previous unread
mail.

For this to work I have
        Option          "Protocol"              "ExplorerPS/2"
        Option          "Emulate3Buttons"       "false"
        Option          "Buttons"               "7"
        Option          "ZAxisMapping"          "6 7"

in /etc/X11/XF86Config-4 and execute
	/usr/bin/X11/xmodmap -e "pointer = 1 2 3 6 7 4 5"
in a custom script under /etc/X11/Xsession.d/
Also I have imwheel activated in /etc/X11/imwheel/startup.conf
and in my /etc/X11/imwheel/imwheelrc I have among others (I don't use
the default imwheelrc)

".*"
None, Up, Alt_L|Left
None, Down, Alt_L|Right

"Mail - Kontact"
None, Up, plus
None, Down, minus

But as you see it's rather inconvenient to setup (no GUI, no
automatism).

Cheers,
Andreas





More information about the ubuntu-users mailing list