I just tried this, as /etc/X11/xorg.conf.d/marblemouse.conf:
### START OF FILE ###
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "auto"
Option "Buttons" "5"
Option "ButtonMapping" "1 8 3 2 9"
Option "EmulateWheel" "true"
Option "EmulateWheelTimeout" "300" # msec
Option "EmulateWheelButton" "2"
Option "YAxisMapping" "4 5"
Option "XAxisMapping" "6 7"
EndSection
### END OF FILE ###
This caused my X to lock up at the login screen, even after rebooting. I
had to power off the machine, as I could not even Ctrl-Alt-F1 to get a
text terminal login. After rebooting in recovery mode, I renamed the
file (added "_disabled" to the name) and could use X once more.
As I have a Marble Mouse trackball, I'm hoping someone will figure out an
actual working config, where I can use the buttons as follows:
Big Left: normal left mousebutton
Small Left: mousebutton 3, used to open new tabs in Firefox, or paste from the
selection clipboard
Small Right + ball movement: scroll freely, vertically and horizontally
Big Right: normal right mousebutton
I could do all this with HAL, using this fdi, so hope I'll be able to do so
again soon:
### START FILE ###
<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
<device>
<match key="info.product" string="Logitech USB Trackball">
<merge key="input.x11_options.ButtonMapping" type="string">1 8 3 4 5 6 7
2 9</merge>
<merge key="input.x11_options.EmulateWheel" type="string">true</merge>
<merge key="input.x11_options.EmulateWheelButton" type="string">9</merge>
<merge key="input.x11_options.ZAxisMapping" type="string">4 5</merge>
<merge key="input.x11_options.XAxisMapping" type="string">6 7</merge>
<merge key="input.x11_options.Emulate3Buttons" type="string">false</merge>
</match>
</device>
</deviceinfo>
### END FILE ###
--
udev rules with dot in key fails with Env must be KEY=VALUE pairs
https://bugs.launchpad.net/bugs/567068
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs