Re: scroll bars and wheel mouse

dpeterso@ne.orst.edu
Wed, 15 May 2002 15:06:54 -0700 (PDT)


On Wed, 15 May 2002, Kevan Riley had this to say:

>want in!  The wheel om my MS IntelliMouse mouse works
>for all the scrollbars in gnome/sawfish?  

This is a feature of X, I believe.  The wheel acts as an extra button.

>Can AS and gnome behave like this?  I have to use MS

I would imagine.  Here are the relevant parts (courtesy of pogolinux 
tech support) from an X configuration file 
that allows the wheel of the mouse to work:

--------
Look in /etc/X11/XF86Config-4, for "Mouse0" and make the following changes:

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
# change proto to IMPS/2 (IM==wheel)
# it may already be this way if you're getting click responses
        Option      "Protocol" "IMPS/2"
        Option      "Device" "/dev/psaux"
# make sure buttons=5 or better (fancier mice)
	Option	    "Buttons" "5"
# ZAxisMapping 4 5 actually enables scrolling behavior
        Option      "ZAxisMapping" "4 5"
        Option      "Emulate3Buttons" "no"
EndSection

Restart X (log out, and press Ctrl-Alt-Backspace to reset the X server),
and the scroll wheel should work.  (This section is actually cut and 
pasted from my own XF86Config-4, which is being used to help type this
message. :)

-- Glenn

-- 
Glenn R. Stone, gstone@pogolinux.com            |   .~.   Geek by Nature 
RHCE, Technoshaman, Linux and other Mysteries   |  / V \  -------------- 
Linux Systems Engineer, Pogo Linux, Redmond, WA | /(   )\ Linux by Choice
http://www.pogolinux.com +1 888 828 POGO x425   |  ^^-^^                  
-----------

Hope this helps,
Cheers!
-Don
_________________________________________________
Donald A. Peterson       | dpeterso@engr.orst.edu
Ph.D. Research Associate | 
Dept. of Chemistry       | PH:  (541) 737-7079
Oregon St. University    | FAX: (541) 737-0480
-------------------------------------------------

_______________________________________________
The AfterStep Window Manager for X User's Mailing List
http://mail.afterstep.org/mailman/listinfo/as-users