Follow this simple step to disable touchscreen on Ubuntu.
Am I old style? I love Vim. I am a keyboard and mouse type of person. I have a mouse that holds sort of like a joystick.
Sometimes when I tilt the screen back and forward to see better, the touchscreen would activate and close a window.
If you use Ubuntu then you know that the close screen is on the top left. So if you use your left hand to move your screen then probably you are going to close such window.
I followed this thread and this is what solved this for me.
Disable touchscreen on Ubuntu
Go to the terminal and type
It says that
xinput is a utility to configure and test X input devices.
It has a lot of options but the one we are interested in is
Then do this:
It will show you something like this:
Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ SynPS/2 Synaptics TouchPad id=13 [slave pointer (2)]
⎜ ↳ Raydium Corporation Raydium Touch System id=15 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Video Bus id=8 [slave keyboard (3)]
↳ Sleep Button id=9 [slave keyboard (3)]
↳ Integrated Camera id=11 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=12 [slave keyboard (3)]
Find the touchscreen system id and disable it.
I initially got confused between choosing Touchpad and Touch System. Maybe I have been going to sleep too late at night.
I looked up Raydium Corporation and indeed they do touch screens. Even their website is really really crappy. Like honestly it looks like they haven’t updated their website since the dot com bubble. Even geocities looks more pleasant.
In my case the
So I did this:
xinput disable 15
If you feel like you made a mistake and cannot live without the touchscreen then just do the opposite:
xinput enable 15
Using obviously the
id that corresponds to your config. Don’t come back and say “Hey Tom you broke my config”.