Enable/Disable Touch Screen with Ubuntu

1. Identity Touch Screen
Command:
xinput –list
It will output a list of your input devices. For example:
—————————————————————————–
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ SynPS/2 Synaptics TouchPad id=10 [slave pointer (2)]
⎜ ↳ ELAN Touchscreen id=12 [slave pointer (2)]
⎜ ↳ Microsoft Microsoft® 2.4GHz Transceiver v5.0 id=13 [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)]
↳ Power Button id=8 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=9 [slave keyboard (3)]
↳ Lenovo EasyCamera id=11 [slave keyboard (3)]
—————————————————————————–
My touch screen is “ELAN Touchscreen”

2. Enable/Disable Touch Screen
xinput –enable “Name Of Your Touch Screen”
xinput –disable “Name Of Your Touch Screen”

For example:
xinput –disable “ELAN Touchscreen”

Advertisements

4 comments

  1. Carlos

    Hi I
    I just got a Dell 7000 Series that have and ELAN Touchscreen as in you example. I’m having some issues, if I use xinput to disable the touchscreen, it only stay disabled until the second time i touch the screen, then start working again.
    I just want to know if this is a common problem Touchscreen. I’m using Mint 16.

    • mutoular

      The method in the post actually does not work very well. After a few minutes, the touch screen becomes active again. I copied this method from web.

    • 1111

      This is the exact same problem I was having; the touch screen would become enabled again after a few seconds.
      Trying the following command produced the same results:

      xinput set-prop “ELAN Touchscreen” “Device Enabled” 0

      Using dconf Editor (sudo apt-get install dconf-editor) and going to org > gnome > settings-daemon > peripherals > touchscreen only provides the option to disabe/enable orientation lock, which is not what I want.

      I found the following to work:

      echo -n “usb1” | sudo tee -a /sys/bus/usb/drivers/usb/unbind

      If you want to know more about it, you can read the following article about manual driver binding and unbinding:
      https://lwn.net/Articles/143397/

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s