Re: Wheel mouse in gnome



For Netscape, try this (it works for me!):

# Netscape add-on to enable scrolling with mouse wheel
!## NETSCAPE
Netscape*drawingArea.translations:      #replace        \
	<Btn1Down>:                     ArmLink()       \n\
        <Btn2Down>:                     ArmLink()       \n\
        ~Shift<Btn1Up>:                 ActivateLink()  \n\
        ~Shift<Btn2Up>:                 ActivateLink(new-window)  \
                                        DisarmLink()    \n\
        Shift<Btn1Up>:                  ActivateLink(save-only)  \
                                        DisarmLink()    \n\
        Shift<Btn2Up>:                  ActivateLink(save-only)  \
                                        DisarmLink()    \n\
        <Btn1Motion>:                   DisarmLinkIfMoved()  \n\
        <Btn2Motion>:                   DisarmLinkIfMoved()  \n\
        <Btn3Motion>:                   DisarmLinkIfMoved()  \n\
        <Motion>:                       DescribeLink()  \n\
        <Btn3Down>:                     xfeDoPopup()    \n\
        <Btn3Up>:                       ActivatePopup() \n\
        Ctrl<Btn4Down>: PageUp()\n\
        Ctrl<Btn5Down>: PageDown()\n\
        Shift<Btn4Down>: LineUp()\n\
        Shift<Btn5Down>: LineDown()\n\
        None<Btn4Down>:
LineUp()LineUp()LineUp()LineUp()LineUp()LineUp()\n\
        None<Btn5Down>:
LineDown()LineDown()LineDown()LineDown()LineDown()LineDown()\n\
        Alt<Btn4Down>: xfeDoCommand(forward)\n\
        Alt<Btn5Down>: xfeDoCommand(back)\n

Netscape*globalNonTextTranslations: #override\n\
	Shift<Btn4Down>: LineUp()\n\
	Shift<Btn5Down>: LineDown()\n\
	None<Btn4Down>:LineUp()LineUp()LineUp()LineUp()LineUp()LineUp()\n\

None<Btn5Down>:LineDown()LineDown()LineDown()LineDown()LineDown()LineDown()\n\
	Alt<Btn4Down>: xfeDoCommand(forward)\n\
	Alt<Btn5Down>: xfeDoCommand(back)\n

You can find settings for more apps here:
http://www.inria.fr/koala/colas/mouse-wheel-scroll/index.html

Good luck!
Hall


Spud wrote:
> 
>     This may or may not be related to gnome, but I would appreciate some
> feedback. I have a Logitech Mouseman with a wheel, and all the buttons work
> fine. I set up my /etc/XF86Config file to use the wheel (with ZAxisMapping 4
> 5), but the wheel only works partially. It will work fine in an Eterm, and
> the 'open' dialog boxes. But with gEdit and Netscape (among others) it won't
> work in the main application. Like, if I open a file, the wheel will scroll
> down the directory listing, but when the file is loaded, moving the wheel
> does absolutely nothing. Same thing in netscape.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]