Page 1 of 1

How to disable the touchpad?

Posted: Sat Nov 05, 2022 4:40 am
by scsijon

I was wondering if you could add the ability via icon to turn on / off the touchpad and their buttons onscreen please.

Maybe I'm getting old, but I prefer either my touchscreen/pen or Bluetooth mouse for controls and I'm fed up with the touchpad or its buttons interfering when doing something with the keyboard.

thanks


Re: Touchpad on/off

Posted: Sat Nov 05, 2022 8:07 am
by Geek3579

I had issues with a dodgy touch screen and dis the following:

Tun off Touchscreen/Touchpad run xinput in the terminal

A list of devices will turn up, such as this list from my desktop, which doesn't have a touch screen, sorry:

root# xinput
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Logitech USB Receiver Mouse id=9 [slave pointer (2)]
⎜ ↳ Logitech USB Receiver Consumer Control id=10 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Video Bus id=6 [slave keyboard (3)]
↳ Power Button id=7 [slave keyboard (3)]
↳ Logitech USB Receiver id=8 [slave keyboard (3)]
↳ Logitech USB Receiver System Control id=11 [slave keyboard (3)]
root#

The idea is to find the ID of the touchscreen (eg 10), then run the following in the terminal: xinput disable 10

To make that change a permanent one on boot can vary a bit with the OS, so I won't elaborate further.


Re: Touchpad on/off

Posted: Sat Nov 05, 2022 3:27 pm
by wizard

@scsijon

Welcome to the forum. Take a look here for the script, touchpad-toggle.sh, that will toggle the touchpad on and off.
viewtopic.php?t=6085

wizard