Ubuntu – How to configure Logitech Marble trackball

input-deviceslogitech

You can configure it using xinput.

Best Answer

This is always what I've done. it works a peach for every trackman I've ever used. It's the last, simplest step from the official ubuntu page.

~/trackman.sh:

#!/bin/bash

xinput set-button-map "Logitech USB Trackball" 1 2 3 4 5 6 7 8 9
xinput set-int-prop "Logitech USB Trackball" "Evdev Wheel Emulation Button" 8 8
xinput set-int-prop "Logitech USB Trackball" "Evdev Wheel Emulation" 8 1
xinput set-int-prop "Logitech USB Trackball" "Evdev Wheel Emulation Axes" 8 6 7 4 5
xinput set-int-prop "Logitech USB Trackball" "Evdev Wheel Emulation X Axis" 8 6
xinput set-int-prop "Logitech USB Trackball" "Evdev Drag Lock Buttons" 8 9`


chmod +x ~/trackman.sh

then, whenever you login (or in a startup script), bash ~/trackman.sh

Done. This tiny little scripts works much, much better than the official ~60mb windows installer IMHO :)

Related Question