I tried to disable trackpad on my MacBook Pro 2015 my operating system is Mac OS X Mojave there is not have Accessability menu in System properties. So, how to disable it from Terminal?
I found this solution Disabling the trackpad from the command line, which is suggests the following command line:
sudo kextunload /System/Library/Extensions/AppleUSBMultitouch.kext/
which successfully disables the trackpad, but also the keyboard and a few minutes later the computer crashes and restarts.
Unfortunately the "Ignore trackpad when mouse or wireless trackpad is present" no longer works on Mojave. Because of well document bug where mouse starts jumping in uncontrollable fashion with the only solution being to disable the trackpad and use mouse, I've had that option checked for a while. But after an upgrade to Mojave, even when the option is checked the trackpad still reacts and the mouse is jumpy, which makes the computer mostly unusable (most apps don't have a very fluid shortcut keys support).
Bottom line: any suggestion to disable the trackpad, permanently and forever, on Mojave, not only when a mouse is detected would be amazing! :)