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.