0

I have a laptop (Dell Inspiron) with a touch display. Is there a way to turn the touch functionality of this display off and on with the touch of a button or a key combination?

I am running Kubuntu 18.04

Bruni
  • 10,542

1 Answers1

2

The xinput utility provides a utility to configure and test X input devices. Do a man xinput for details. You can use xinput list to get a list of the devices on your system. xinput --disable 'ELAN Touchscreen' will disable an ELAN Touchscreen and xinput --enable 'ELAN Touchscreen' will re-enable the same device.

To actually create a toggle button you can adjust the answer to this question and put the resulting script in a .desktop file.

Bruni
  • 10,542