A related note to those using Xorg 1.5.2 or newer, some distributions (ubuntu 8.10 included) don't disable 3 button emulation - its supposed to be disabled automatically if X detects a middle button press, but for some reason thats not working. This causes a latency for ALL button presses since the server waits a while in order to detect right+left press as a virtual 3rd.
Here's how to disable 3 button emulation alltogether, its no longer done in the xorg.conf file but has moved to HAL:
Add the following inside the <device> section in /usr/share/hal/fdi/policy/10osvendor/10-x11-input.fdi:
- Code: Select all
<match key="info.capabilities" contains="input.mouse">
<merge key="input.x11_driver" type="string">mouse</merge>
<match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
string="Linux">
<merge key="input.x11_driver" type="string">evdev</merge>
</match>
<!-- this here is what actually disables the 3 button emulation - the rest above is just the default stuff found in this file -->
<merge key="input.x11_options.emulate3buttons" type="string">False</merge>
</match>
It will get picked up once the system-wide HAL instance is restarted, easiest is to reboot.
Yes, HAL will need to work a little bit to get into my favorite list of things on this planet, but its not mission impossible

Whenever You go, then You aren't.