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
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
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.
startup
program.
– John Anderson
Aug 22 '18 at 16:02
xinput --disable 'ELAN Touchscreen'
to disable mine, since I never use the touch capabilities. – John Anderson Aug 22 '18 at 14:55