Jim wrote:
>
> Is there a way to enable the mouse-wheel to scroll windows in
> Red-Hat 6.1? Any answers would be appreciated. Thanks.
Kevin
--
Kevin Kewell
Hampshire,UK
k.ke...@cwcom.net
k.ke...@virgin.net
Description: | |
Is it possible to use the wheel on my mouse in X? | |
Solution: | |
Enabling the wheel on a mouse in XIt is possible to enable this with a little bit of linux magic. This involves editing a few files first and then restarting X. The steps involved are:
1. Edit and make changes to /etc/XF86ConfigOpen /etc/XF86Config in your favorite editor and scroll down to the section labeled Section "Pointer" Then, within the section add these two options:Buttons 5 ZAxisMapping 4 5 Then you will need to change the Protocol to the correct protocol for your mouse. For a complete listing see the man page for XF86Config. The Logitech Wheel mouse seems to do well with the MouseManPlusPS/2 protocol. Thus, the entire section would read: Section "Pointer" Protocol "MouseManPlusPS/2" Device "/dev/mouse" Buttons 5 ZAxisMapping 4 5 EndSection 2. Edit and make changes to your ~/.XdefaultsIt is likely that this file does not yet exist in your home directory (denoted by the HOME environment variable), however, if you create it, it will be read the next time that you login to X. Thus, in your home directory, edit .Xdefaults with your favorite editor and add: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()\n\ None<Btn5Down>: 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()\n\ None<Btn5Down>: LineDown()LineDown()LineDown()LineDown()\n\ Alt<Btn4Down>: xfeDoCommand(forward)\n\ Alt<Btn5Down>: xfeDoCommand(back)\n 3. Restart the X serverLastly, you will need to logout of X and restart the X server. If you
are in KDE then logout of KDE. On the shutdown menu, select Restart X
Server. Once this restarts, you should be able to use your wheel mouse
with most KDE applications as well as with Netscape. If you are not using
KDM, then you can either run startx or kde from the command line.
If this doesn't work on your system, or for more detailed information refer to the link below. http://www.inria.fr/koala/colas/mouse-wheel-scroll/ Hope this information helps,
RJ Connell,
Computer Support Technician (MIS) |
"Jim" <ripp...@earthlink.net> wrote in message news:389FA9B3...@earthlink.net...
http://www.inria.fr/koala/colas/mouse-wheel-scroll/
-- Dennis
Kevin Nord wrote:
>
> yes, i know SuSE has a package called imwheel that is supposed to let it
> work... i havent gotten it going though :)
> any help?
>
> Jim wrote:
> >