Sunday, March 18, 2018

mouse - How do I disable the touchscreen drivers?



I have a touchscreen, but the drivers are not working properly and interfere with my mouse.



Is it possible to disable my touchscreen , so that I can work again properly?



You can try disabling the input device with the xinput command. First see what input devices you have, just type:



xinput



And you should see a list like:



$ xinput 
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Atmel Atmel maXTouch Digitizer id=9 [slave pointer (2)]
⎜ ↳ TPPS/2 IBM TrackPoint id=13 [slave pointer (2)]
⎜ ↳ SynPS/2 Synaptics TouchPad id=12 [slave pointer (2)]
...



Then you can disable the input device you want with this command:



xinput disable 9


Where 9 is the id of the device you want to disable. You can also use the device name between quotes.



In xinput version 1.5.99.1 , you need to do xinput set-prop 9 'Device Enabled' 0 instead. Oddly on xinput v1.6.2 the first way work.



No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...