How to Disable Touchpad in Debian Mate
The common way to disable touchpad in Debian/Ubuntu are use synclient or xinput. I tried synclient but was not working. I tried xinput by putting device ID but it’s not safe because if you plugged flashdisk, wacom etc in USB port, device ID will change.
This way is a xinput way but using device name.
sudo apt install xinput
Type this in terminal to find the device.
Copy the device name.
Type this syntaxt and paste the device name
xinput disable 'ETPS/2 Elantech Touchpad'
If you want to disable touchpad on startup, just add the syntaxt to Startup Applications.
PS: I think this way will working in Ubuntu Mate too.
Disable Touchpad in Lubuntu
To disable touchpad in Lubuntu (LXDE) is same way. But it’s different to make this work on startup.This is the way to make it on start up in Lubuntu (make autostart).
Go to ~/.config/autostart. Make file in this folder. For example, “disabletouchpad.desktop”.
Add the syntaxt (xinput disable “device name”) in exec section.
[Desktop Entry] Name=Disable Touchpad Autostart Type=Application Exec=xinput disable 'ETPS/2 Elantech Touchpad'