Wheel mouse & Netscape

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: David A. Sinck
Date:  
Subject: Wheel mouse & Netscape

\_ SMTP quoth Mark R. Myers on 7/3/2001 00:50 as having spake thusly:
\_
\_ BTW,
\_     I am running RedHat 7.1. It uses the scrolling function of my PS/2
\_ Intellimouse just fine except for Netscape. The scrolling works fine in
\_ Konqueror & Opera just fine. Does anyone know how to get it working with
\_ Netscape? Do I need to use imwheel just for one program?



See:
http://www-sop.inria.fr/koala/colas/mouse-wheel-scroll/

A snippet from my .X11defaults file (may be called .Xdefaults on your
box) is below. Put it someplace, exit & kill netscape,
xrdb -merge ~/.X11defaults, and restart NS, and you should be in
downtown.

YMMV

david

----------------------------------
!## NETSCAPE

!##        <Btn3Down>:                     xfeDoPopup()
\n\
!##        <Btn3Up>:                       ActivatePopup()         \n\


Netscape*drawingArea.translations:              #replace\n\
        <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>: \n\
        <Btn3Down>,Shift<Btn3Up>: xfeDoCommand(forward)\n\
        <Btn3Down>,Shift<Btn3Motion>: xfeDoPopup()\n\
        <Btn3Down>,<Btn3Up>: xfeDoCommand(back)\n\
        <Btn3Down>,<Btn3Motion>: xfeDoPopup()\n\
        Ctrl<Btn4Down>,<Btn4Up>: PageUp()\n\
        Ctrl<Btn5Down>,<Btn5Up>: PageDown()\n\
        Shift<Btn4Down>,<Btn4Up>: ColumnLeft()\n\
        Shift<Btn5Down>,<Btn5Up>: ColumnRight()\n\
    Ctrl Shift<Btn4Down>,<Btn4Up>:
        ColumnLeft()ColumnLeft()ColumnLeft()ColumnLeft()ColumnLeft()\n\
        Ctrl Shift<Btn5Down>,<Btn5Up>:
        ColumnRight()ColumnRight()ColumnRight()ColumnRight()ColumnRight()\n\
         None<Btn4Down>,<Btn4Up>:
        LineUp()LineUp()LineUp()LineUp()LineUp()LineUp()\n\
         None<Btn5Down>,<Btn5Up>:
        LineDown()LineDown()LineDown()LineDown()LineDown()LineDown()\n


!*browserGlobalTranslations:        #override
\
!    Meta ~Ctrl<Key>F:        xfeDoCommand(findInObject)
\n\
!     Alt ~Ctrl<Key>F:        xfeDoCommand(findInObject)
\n\
!    Meta ~Ctrl<Key>G:        xfeDoCommand(findAgain)
\n\
!     Alt ~Ctrl<Key>G:        xfeDoCommand(findAgain)
\n\
!    Meta ~Ctrl ~Shift<Key>i: xfeDoCommand(showImages)
\n\
!     Alt ~Ctrl ~Shift<Key>i: xfeDoCommand(showImages)
\n\
!    Meta ~Ctrl  Shift<Key>i: xfeDoCommand(viewSecurity)
\n\
!     Alt ~Ctrl  Shift<Key>i: xfeDoCommand(viewSecurity)
\n\
!    Meta ~Ctrl<Key>L:        xfeDoCommand(openPage)
\n\
!     Alt ~Ctrl<Key>L:        xfeDoCommand(openPage)
\n\
!    Meta ~Ctrl ~Shift<Key>o: xfeDoCommand(openPage)
\n\
!     Alt ~Ctrl ~Shift<Key>o: xfeDoCommand(openPage)
\n\
!    Meta ~Ctrl  Shift<Key>o: xfeDoCommand(openPageChooseFile)
\n\
!     Alt ~Ctrl  Shift<Key>o: xfeDoCommand(openPageChooseFile)
\n\
!    Meta ~Ctrl<Key>P:        xfeDoCommand(print)
\n\
!     Alt ~Ctrl<Key>P:        xfeDoCommand(print)
\n\
!    Meta ~Ctrl<Key>R:        xfeDoCommand(reload)
\n\
!     Alt ~Ctrl<Key>R:        xfeDoCommand(reload)
\n\
!    Meta ~Ctrl<Key>minus:        xfeDoCommand(decreaseFont)
\n\
!     Alt ~Ctrl<Key>minus:        xfeDoCommand(decreaseFont)
\n\
!    Meta ~Ctrl<Key>plus:        xfeDoCommand(increaseFont)
\n\
!     Alt ~Ctrl<Key>plus:        xfeDoCommand(increaseFont)
\n\
!
\
!    Meta ~Ctrl<Key>osfLeft:        xfeDoCommand(back)
\n\
!     Alt ~Ctrl<Key>osfLeft:        xfeDoCommand(back)
\n\
!    Meta ~Ctrl<Key>osfRight:    xfeDoCommand(forward)
\n\
!     Alt ~Ctrl<Key>osfRight:    xfeDoCommand(forward)
\n\
!              <Key>Escape:        xfeDoCommand(stopLoading)
\n\
!              <Key>osfCancel:    xfeDoCommand(stopLoading)
\n\
!\
!    Meta ~Ctrl<Key>bracketright: xfeDoCommand(decreaseFont)
\n\
!     Alt ~Ctrl<Key>bracketright: xfeDoCommand(decreaseFont)
\n\
!    Meta ~Ctrl<Key>bracketleft:  xfeDoCommand(increaseFont)
\n\
!     Alt ~Ctrl<Key>bracketleft:  xfeDoCommand(increaseFont)
\n
!
Netscape*globalNonTextTranslations: #override\n\
 Shift<Btn4Down>,<Btn4Up>: ColumnLeft()\n\
 Shift<Btn5Down>,<Btn5Up>: ColumnRight()\n\
 None<Btn4Down>,<Btn4Up>:LineUp()LineUp()LineUp()LineUp()LineUp()LineUp()\n\
 None<Btn5Down>,<Btn5Up>:LineDown()LineDown()LineDown()LineDown()LineDown()LineDown()\n\



-------------------