Brian Cameron wrote:
> I wish I could tell the Xserver that I really want 3rd mouse
> button emulation even if a 3rd mouse button is detected.
Pre-HAL Xorg servers - in the mouse section of xorg.conf, set:
Option "Emulate3Buttons" "on"
HAL-based Xorg servers - create /etc/hal/fdi/policy/30user/10-x11-3button.fdi
with:
<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
<device>
<!--
Default X.org input configuration is defined in:
/etc/hal/fdi/policy/30user/10-x11-input.fdi
Settings here modify or override the default configuration.
See comment in the file above for more information.
To see the currently active hal X.org input configuration
run lshal or hal-device(1m) and search for "input.x11*" keys.
Hal and X must be restarted for changes here to take any effect
-->
<match key="info.capabilities" contains="input.mouse">
<merge key="input.x11_options.Emulate3Buttons" type="string">on</merge>
</match>
</device>
</deviceinfo>
(comments copied from Edward Pilatowicz's recent example on desktop-discuss)
In your Xorg.0.log you should see:
(**) Option "Emulate3Buttons" "on"
(**) mouse: Emulate3Buttons, Emulate3Timeout: 50
See the mouse(7) man page for more detail on mouse options.
A great RFE would be for the GNOME Mouse Preferences panel to provide a GUI
checkbox to create the HAL config instead of making users copy & paste XML
themselves.
--
-Alan Coopersmith- alan.coopersmith at sun.com
Sun Microsystems, Inc. - X Window System Engineering