Another option for you, because I think it is preferable. Bodhi uses "libinput" which has a quite sophisticated disable while typing function for the trackpad.
First, see my post that explains how to enable natural scrolling:
https://www.linuxquestions.org/quest...ng-4175672525/
You can add an extra line to 40-libinput.conf containing:
Quote:
Option "DisableWhileTyping" "on"
|
and that will do what you need.
Some information on libinput and the DWT function:
https://who-t.blogspot.com/2016/08/l...le-typing.html