LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   scroll mouse (https://www.linuxquestions.org/questions/slackware-14/scroll-mouse-386371/)

ssabljic 11-25-2005 06:15 AM

scroll mouse
 
how to configure my mouse so i can use scroll wheal and those 2 bottons on the side which i use under windows for back and forward when browsing... It si some no name ps/2 mouse. Someone told me to reconfigure xorgconfig but the question is how

dive 11-25-2005 06:41 AM

Getting the scroll wheel to work is relatively easy:

Open /etc/X11/xorg.conf with a text editor
Change the entries for the mouse section to use scroll:

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "ExplorerPS/2" # <- could also use "IMPS/2"
Option "Device" "/dev/mouse"
Option "ZaxisMapping" "4 5" # <- This is for my MX510, may be different numbers for yours
Option "Buttons" "10"

Then save the file, exit X, and restart with 'startx'


To get the side buttons to work is a bit more tricky. I used some of this guide:
http://www.linux-gamers.net/modules/...p?articleid=46

But I had to recompile my kernel with evdev support which is rather tricky although the guides at top of forum are handy for this. Also I could not get xvkbd or xkeybinds to work and had to use imwheel, which you will need to google around for.

the_rovers 11-25-2005 06:43 AM

Edit /etc/X11/xorg.conf

Find the bit where the mouse stuff is.

It'll probably have something like this:

Option "Protocol" "PS/2"

Make sure it's a line that doesn't start with # (they're comments and will be ignored).

Change the above line to:

Option "Protocol" "IMPS/2"

And add this one:

Option "ZAxis Mapping" "4 5"

If that doesn't get your wheel working, change "4 5" to "6 7"

HTH

Simon

dive 11-25-2005 06:45 AM

http://imwheel.sourceforge.net/

my imwheelrc file:

".*"
, Right, Page_Down
, Left, Page_Up

Hope this is some help for you. Actually this uses side buttons for pagu/down - I think default behaviour is for page next/previous so you might not actually need imwheel if thats what you want



All times are GMT -5. The time now is 07:24 AM.