Disabling the Touchscreen under Linux/X11

I am specifically using Ubuntu, but it does not matter as long as you have the xinput tool installed.

At the command-line, run xinput --list to list all of your HID devices:

$ xinput --list
⎡ 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)]
⎜   ↳ eGalax Inc. eGalaxTouch EXC7910-1026-13.00.00 id=10   [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)]
    ↳ Sleep Button                              id=8    [slave  keyboard (3)]
    ↳ Lenovo EasyCamera                         id=9    [slave  keyboard (3)]
    ↳ Ideapad extra buttons                     id=11   [slave  keyboard (3)]

Identify the ID of the one that corresponds to your screen. Disable it:

$ sudo xinput disable 10
[sudo] password for dustin: 

To make the change permanent, add the second command to a script in /etc/X11/Xsession.d (e.g. “98disablexinput”):

#!/usr/bin/bash

xinput disable 10