I've got a udev
rule that is properly matching, but it is not executing the command in the RUN+="/usr/bin/synclient TouchpadOff=1"
properly. If I change that to be some sort of test shell script then it works fine.
If I run synclient TouchpadOff=1
from the command line I get no return and it doesn't work. However, adding sudo
to that line disables the touchpad as intended.
Is udev not executing this command with superuser permissions?
Ubuntu 15.04