To disable the touchpad while typing in Ubuntu, a built-in program needs run. It’s best to add it to the startup items to run every time your computer starts. Search for and open Startup Applications from the Dash by pressing the key, and then click Add.
|Comment:||Disable touchpad while typing|
-i 1.0 parameter sets the idle time of the keyboard to 1 second.
-K ignores the Modifier keys.
-t only disables tapping and scrolling (leave out to disable all mouse movement).
-d runs it as a daemon (in the background).
Click Add and then Close. Reboot your computer to enable this setting.
Note: This is a per user setting, so repeat this process for all user accounts.