Disable Touchscreen on Ubuntu

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 man xinput

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 list

Then do this:

xinput --list

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 id is 15

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”.

Please comment if this worked for you or not. Even to just say hi 🙂

Related Post

Go to the Previous Directory in Vim I use Vim. Vim is the most productive text editor if you know some vim commands When I open a file and I am done with it. I often want to go...
Export Data From Firebird Database to CSV File Background Some software applications use a database called Firebird. This is an open source database. If the software application is compiled you ca...
Installing Ruby on Ubuntu Installing Ruby on Ubuntu As seen on RVM... Go to the terminal in Ubuntu. Add the public key from RVM $ gpg --keyserver hkp://keys.gnupg.n...
Installing Hipchat on Ubuntu Tested on: Ubuntu 12.04 LTS Thinkpad T400, 2GB RAM Intel Core 2 Duo CPU P8600, 32bit Sources: Official hipchat linux instructions Ask U...

Leave a Reply