Closed colemickens closed 7 years ago
xinput
works well for that. Run xinput
- get the device ID for the touchscreen:
❯ xinput
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Atmel maXTouch Touchpad id=9 [slave pointer (2)]
⎜ ↳ Atmel maXTouch Touchscreen id=10 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Power Button id=7 [slave keyboard (3)]
↳ NCM-G102 id=8 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=11 [slave keyboard (3)]
Here it's 10
. And disable it:
xinput disable 10
Scripting this is left as an exercise to the reader ;) (you'll need to run this on each reboot)
Doh, right, but I'm in Wayland, which means libinput, which means I have to configure it through GNOME and GNOME, of course, doesn't expose a knob for this.
Thanks @raphael. Closing this as it's not pixel specific/related at all.
Is there a generic linux way to disable a touchscreen? If not, is there a
linux-samus
-specific way of doing so?Thanks in advance.