a program that monitors keyboard activity and disables the touchpad when the keyboard is being used.Disabling the touchpad while typing avoids unwanted movements of the pointer that could lead to giving focus to
the wrong window.
General Commands Manual
Which works well while in desktop session. You do not need synaptiks pisi package installed for this to work.
There are other options listed in the syndaemon manpage.