If your a Linux user who has a touchscreen on their PC and happens to not use it due to issues like it being laggy, damaged etc , then this simple guide is for you!
I had this same issue while using linux on one of my old PC which has a touchscreen in it, albeit a slightly glitchy one. I don't use touchscreen anyways.
If you looked up "How to disable touchscreen Linux" or something along those lines on the internet , then I have some bad news for you :(
Most guides or forums that tell you how to disable your PC's touchscreen are nothing but a temporary solution! After a restart or the next time you turn on your PC you'd be struggling to redo the steps you got from a shaddy website as the touchscreen will be back online after every restart!
Here's what you probably did:
CASE-1
Disable touchscreen on Linux
Step-1: Open terminal
Open your terminal by either clicking this icon on your linux desktop environment or by doing this shortcut- CTRL+ALT+t
Step-2: Xinput list command
Once the terminal is open type in this command- xinput list
This Linux command shows your a list of all input devices along with their id (this will come into play later)
Step-3: Disabling your desired input
Now once you see the list of input devices all that is left is to select the target input device and disable it. To do this type in this command - xinput set-prop "<device name>" "Device Enabled" 0
Type in your target input device in the place of <device name>. The command simple disabled the input device. The 0 in the command is a simple false or disable value . To enable it again simple use 1 instead of 0
If you did the simple 3 step program as mentioned above then you have successfully solved your issue........that is until you turn on your PC again!
With is commonly stated solution on the internet , the targeted device turns on again after the PC is restarted or turned on again.
Here's what you should do instead:
CASE-2
Disable your touchscreen permanently
Step-1: Open terminal
Open your terminal by either clicking this icon on your linux desktop environment or by doing this shortcut- CTRL+ALT+t
Step-2: Xinput list command
Once the terminal is open type in this command- xinput list
This linux command shows your a list of all input devices along with their id (this will come into play later)
Step-3: Disable target input device
Now this is where the process is different from CASE-1. To disable your target device type this command- xinput disable "<target device id>"
Make sure to replace <target device id> with the id corresponding to your target device.
and that's it!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Congrats!!
you have now successfully disabled your PC's touchscreen permanently! No more annoying false touches and glitches every time you start your PC again!
Comments
Post a Comment