This is the udev rule I created to turn off the touchpad when an external (bluetooth in this case) mouse is attached. It is not perfect, as sometimes when I lose the external mouse, I have to manually turn the touchpad back on using the terminal. But it works great at turning the touchpad off.
This is the udev rule I created to turn off the touchpad when an external (bluetooth in this case) mouse is attached. It is not perfect, as sometimes when I lose the external mouse, I have to manually turn the touchpad back on using the terminal. But it works great at turning the touchpad off.