Comment 7 for bug 567068

Revision history for this message
Frode Egeland (egeland) wrote : Re: udev rules with dot in key fails with Env must be KEY=VALUE pairs

Solution:

Ignore the talk of "/etc/X11/xorg.conf.d/" - if I put a file in there, my USB keyboard fails to start, so I can't type anything.

Instead, add this to /etc/X11/xorg.conf:

### START FILE SNIPPET ###
Section "InputClass"
        Identifier "Marble Mouse"
        MatchProduct "Logitech USB Trackball"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
        Option "ButtonMapping" "1 8 3 4 5 6 7 2 9"
        Option "EmulateWheel" "true"
        Option "EmulateWheelButton" "9"
        Option "ZAxisMapping" "4 5"
        Option "XAxisMapping" "6 7"
        Option "Emulate3Buttons" "false"
EndSection
### END FILE SNIPPET ###

Restart X (log out and back in, or reboot), and all should be well.