=== simpler and more permenant way follows this way ….
Type in the terminal:
xinput list
and see what shows. Somewhere under “virtual core pointer” the name of your touchscreen device should appear (on my ASUS X202E it’s “Atmel Atmel maXTouch Digitizer”)
Then type
xinput set-prop <device-name> "Device Enabled" 0
(So in my case it was
xinput set-prop "Atmel Atmel maXTouch Digitizer" "Device Enabled" 0
)
And that’s it.
If you you want to enable it back type
xinput set-prop <device-name> "Device Enabled" 1
==== more permenant way ======
To turn off a linux laptop touch screen edit the following file:
/usr/share/x11/xorg.config.d/10-evdev.conf
The last section should like like this
Section "InputClass"
Identifier "evdev touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
Add the line “Option “Ignore” “on” to the Section “InputClass” so it looks like this:
Section "InputClass"
Identifier "evdev touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "Ignore" "on"
EndSection
reboot