This tutorial shows how to disable the touchpad in Ubuntu with GNOME, XFCE, MATE, and any other desktop environments.
Most desktops today have an option to “disable touch while typing”. But if you always have your computer with a mouse connected and rarely use the touchpad, then it can be a good choice to disable the touchpad to avoid mis-operation.
And, here’s how to do the job in Ubuntu either by using desktop setting options, or globally by using Linux command or config file.