LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Mouse scrolling in Slackware 12.0 (https://www.linuxquestions.org/questions/slackware-14/mouse-scrolling-in-slackware-12-0-a-587749/)

shivkiyer 09-27-2007 10:05 AM

Mouse scrolling in Slackware 12.0
 
I just installed Slackware 12.0 (32 bit OS) on an AMD 64 bit system. I have got a Logitech 2 button optical mouse with a scroll wheel. Initially I couldn't get any scrolling at all. These are the relevant xorg.conf info:

----------------------------------------------
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/mouse"
EndSection
----------------------------------------------


After googling, I found that most people suggest the following changes:
----------------------------------------------
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/mouse"
Option "Emulate3Buttons"
Option "ZAxisMapping" "4 5"
EndSection
-----------------------------------------------


After changing xorg.conf and restarting X server, my mouse is now scrolling in the opposite direction! i.e. When I intend to scroll upwards, I end up going down and vice versa.

Any suggestions?

simcox1 09-27-2007 10:25 AM

You could try swapping the buttons around. If you haven't already created a .Xmodmap on your system, you can put one in your home ~/.

touch ~/.Xmodmap

And then put this in it, and restart X.

pointer = 1 2 3 5 4

shivkiyer 09-27-2007 10:59 AM

Thanks. Now its working fine. I changed :
Option "ZAxisMapping" "4 5"
to
Option "ZAxisMapping" "5 4"

simcox1 09-27-2007 12:21 PM

Glad it works.


All times are GMT -5. The time now is 12:20 PM.