How do I disable mouse scroll wheel under Ubuntu

3

In Ubuntu 9.04, I am looking for a way to disable my mouses scroll so that the mouse works like an old fashioned 3-button mouse without the scroll functionality. Any ideas on how to do this?

Azim

Posted 2009-10-07T18:33:25.527

Reputation: 145

Answers

4

Change your /etc/X11/xorg.conf file so that the scrolling is ignored. You should be able to find a section similar to this for your mouse:

Section "InputDevice"
    [...]
EndSection

Change it to the following to ignore scrolling:

Section "InputDevice"
    [...]
    Option "HorizScrollDelta" "0"
    Option "VertScrollDelta" "0"
EndSection

This just makes it so scrolling scrolls by zero.

You may also be able to set this option through the Mouse control panel by setting the scroll amount to zero.

Ben S

Posted 2009-10-07T18:33:25.527

Reputation: 1 902

This did not work for me in KDE – JeffG – 2011-05-25T21:37:45.217