Comment 22 for bug 261400

Revision history for this message
Jonas Kölker (jonaskoelker) wrote :

Here's what I added to my startup script:

dev="Logitech USB Trackball"
we="Wheel Emulation"
xinput set-int-prop "$dev" "$we" 8 1
xinput set-int-prop "$dev" "$we Button" 8 9
xinput set-int-prop "$dev" "$we X Axis" 8 6 7
xinput set-int-prop "$dev" "$we Y Axis" 8 4 5
xinput set-int-prop "$dev" "Drag Lock Buttons" 8 8

Use $ xinput list-props "Logitech USB Trackball"; to see what properties are available. Put in the name of your own device, of course; I found mine in /var/log/Xorg.0.log. If you can't find yours there, lshal might help.

You can use that as a workaround, as long as it works. Or a semipermanent solution, if you don't want to learn hal ;-)