Sometimes it is not easy to disable/enable touchpad on a laptop running Linux. Certainly that was the case for my new Dell XPS. So, here is what I came up with to make my life easier:
To disable all touchpad devices:
To enable all touchpad devices:
It might then be a good idea to wrap these commands into simple
bash -c "<cmd>"and map it to global hotkeys.
Author Roman Kuznetsov
License Roman Kuznetsov