[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

udev script to disable touchpad on mouse connect



I have this little nice script in udev rules.d/

  KERNEL=="mouse?", ACTION=="add", RUN="/usr/bin/xinput --set-int-prop
2 115 8 0"
  KERNEL=="mouse?", ACTION=="remove", RUN="/usr/bin/xinput
--set-int-prop 2 115 8 1"

it used to call `synclient TouchPadOff 1` but it doesn't seem to work
anymore, since today's big full-upgrade (testing). Those two commands
work fine from the command line, but apparently they aren't run from
udev anymore. Did something change in udev recently? The KERNEL name of
the device seems to still be mouse0, any suggestion on how to make it
work again?

Thanks


Reply to: