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
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
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.