Claudio wrote:

> Hi all,
> My wheel mouse won't work fine. It's a strange problem, for some application 
> (konqueror, nautilus, kmail...) use the wheel, some other (netscape, 
> kvirc...) do not use it. It's usefull expecially with internet browser like 
> netscape!  ;o|
> 
>       Claudio

I've got a nice .Xdefaults entry for netscape to make the scrollwheel 
work without, I'll add it as an attatchment. Just add these lines at the 
end of ~/.Xdefaults and restart X and it should work fine.

Joakim Bodin

!This stuff fixes up mouse-wheel scrolling...
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\
         ~Shift~Ctrl~Alt<Btn4Down>: LineUp()LineUp()LineUp()LineUp()LineUp()LineUp()\n\
         ~Shift~Ctrl~Alt<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\
 ~Shift~Ctrl~Alt<Btn4Down>:LineUp()LineUp()LineUp()LineUp()LineUp()LineUp()\n\
 
~Shift~Ctrl~Alt<Btn5Down>:LineDown()LineDown()LineDown()LineDown()LineDown()LineDown()\n\
 Alt<Btn4Down>: xfeDoCommand(forward)\n\
 Alt<Btn5Down>: xfeDoCommand(back)\n

Reply via email to