How to Disable the Touchpad in Linux?

Have you ever been annoyed by accidentally touching the touchpad on your laptop when you are typing? I am using a Linux laptop with both trackpoint and touchpad so the touchpad is just an annoying redundant thing. Here is the one-liner to disable it: xinput list | grep TouchPad | grep -Po 'id=\K([0-9]+)' | xargs xinput disable

June 10, 2014