Comment 4 for bug 567068

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

Hi everyone,
After some googling I found this excellent clarification on the issue:

https://fedoraproject.org/wiki/Input_device_configuration#xorg.conf.d
(it's from fedora but applies exactly to ubuntu too, since both distros follow the same linux fs hierarchy guidelines)

Basically it says that:
/usr/lib/X11/xorg.conf.d/ is to be managed by the distro, and all changes will be overwritten
/etc/X11/xorg.conf.d/ can be used, but should be left for individual packages from repos
/etc/X11/xorg.conf plain old config file is still the way to go, with the difference that now you can set InputClasses :D

So you don't have to bother finding the correct /dev/input/event* number , you can just match by properties of the device.

I'm going to try it out now