Disable trackpad and trackpoint via command line
For my rotation script, I'd like to disable the trackpoint when I have the screen rotated. It is pretty annoying if the screen is folded onto the keyboard and then moves the mouse with the trackpoint.
Is there some way to disable (and enable) the trackpoint via the command line and keeping the touch and pen input active?
From SynapticsTouchpad - Community Ubuntu Documentation:
Determine the device id:
xinput list
Disable it (e.g. here the device id is 15)
xinput set-prop 15 "Device Enabled" 0
Or see:
- [SOLVED] Temporarily disable TrackPoint? - Ubuntu Forums
- How to disable the touchpad?