Friday, December 16, 2005

Mouse wheel scrolling in Linux

The default installation for Slackware Linux does not have mouse wheel scrolling enabled. This is what I did to enable mouse wheel scroll:

(You need to have root permissions for this procedure)
Open up the X-Server config file (/etc/X11/xorg.conf)
Find the mouse/input device section (generally identified by the Identifier "mouse")
Make sure it is using the IMPS/2 protocol. This can be done by adding or updating the Protocol option:
Option "Protocol" "IMPS/2"

You need to set up the server to recognise the wheel as another button on the mouse. This is done by setting the "Emulate3Buttons" option and the "Buttons" option to 5.
Option "Emulate3Buttons"
Option "Buttons" "5"

Finally, scrolling is enabled by setting the ZAxisMapping option
Option "ZAxisMapping" "4 5"

Restart the X-server (Ctrl+Alt+Backspace should do it) and the mouse wheel should start working.

Labels: ,

1 Comments:

Blogger Aditya said...

Nice to see your techie-blog.

I had one too when we were in Agilent. In case you ever want to revisit that it is here - http://adityasingh-agilent.blogspot.com/

4:04 AM  

Post a Comment

Subscribe to Post Comments [Atom]

<< Home