Fix Your Mouse Wheel...
Novell Cool Solutions: Trench
By Jim Gravelle
Digg This -
Posted: 6 Apr 2005
Sometimes the wheel of your mouse can just stop working for no apparent reason, and I've got to admit; it can be quite a nuisance.
I've come up with a way to fix it.
choose your mouse through YASTOpen YAST Control Center and choose Hardware -> Mouse Model. Select the mouse in the list that matches your mouse the closest. For my portable USB 'Mini Optical Mouse' I chose the 'Intelli/Wheel mouse (USB)'. After any changes you make, click the 'Test' button to verify your mouse still works.
Once you selected/verified your selection, click 'Accept'. You can now go ahead and close the YAST Control Center.
Your mouse isn't fixed quite yet... We're now going to edit an internal file to make sure your mouse behaves as it should.
edit your xorg.conf fileOpen a Terminal window and 'su' to 'root'. We are now going to edit the /etc/X11/xorg.conf file.
Before we make any changes, let's back that file up. If you are not sure how to do this, enter this simple command in your terminal:
cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
*note* In order to do this successfully, you need to be root.
Now go ahead and open the original /etc/X11/xorg.conf in your favorite editor. You'll need to locate the Section named InputDevice inside xorg.conf with the subsequent line reading Driver 'mouse'.
At the end of that Section, add the following line:
Option "ZAxisMapping" "4 5"
And that should do the trick.
My 'Intelli/Wheel mouse (USB)' mouse section in /etc/X11/xorg.conf looks like this:
Section "InputDevice" Driver "mouse" Identifier "Mouse" Option "Device" "/dev/input/mice" Option "Name" "PS/2 Generic Mouse" Option "Protocol" "explorerps/2" Option "Vendor" "Sysp" Option "ZAxisMapping" "4 5" EndSection
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com