Nino’s Reminders

April 6, 2006

Enable mouse wheel in XWindows

Filed under: Miscellaneous — nino @ 20:28

How do I make my middle mouse button work in XWindows?

You need to edit your xorg.conf configuration file and add something to the section where mouse is defined. It is usually located in /etc/X11/. Needed changes are:

Section "InputDevice"
  Identifier "Mouse1"
  Driver "mouse"
  Option "Protocol" "auto"
  Option "Device" "/dev/sysmouse"
  Option "Buttons" "5"
  Option "ZAxisMapping" "4 5"

EndSection

The bold parts are the added parts; non-bold parts will most likely already be there.

Blog at WordPress.com.