4

I have troubles using xinput --disable or --set-prop "Device Enabled" or set-prop "Synaptics Off".

It seems that --disable / --enable and "Device Enabled" are meant to deactivate the whole device, meaning buttons and touchpad, whereas "Synaptics Off" just works on the touchpad.

However, when I want to deactivate the touchpad using udev rules when a USB mouse is attached, neither of those mechanism works. I then can only use synclient "TouchpadOff=1" to deactivate the touchpad.

What is the difference in all those mechanisms, and why does --disable / --enable work within an X session (even as another user, e.g. root when setting DISPLAY and XAUTHORITY accordingly), but not when executed by a rule in udev?

techraf
  • 5,941
Joysn
  • 151

0 Answers0