How to disable the touchpad?

Moderator: BarryK

Post Reply
scsijon
Posts: 188
Joined: Fri Jul 24, 2020 10:11 am
Has thanked: 6 times
Been thanked: 17 times

How to disable the touchpad?

Post 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

Geek3579
Posts: 245
Joined: Sat Jul 18, 2020 1:07 pm
Has thanked: 68 times
Been thanked: 62 times

Re: Touchpad on/off

Post 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.

User avatar
wizard
Posts: 1587
Joined: Sun Aug 09, 2020 7:50 pm
Has thanked: 2127 times
Been thanked: 503 times

Re: Touchpad on/off

Post 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

Big pile of OLD computers

Post Reply

Return to “EasyOS”