This question already has an answer here:
Recently I installed Ubuntu 16.04 on my HP Envy 17t and everything works fine. However, I need to disable the touchscreen input permanently and I tried everything I could found but nothing works.
The closest thing I could manage was to make a shell script that will run at startup (the shell script calls
xinput set-prop "Touchscreen Input Name" "Device Enabled" 0 command).
However, this script will not run until I log in. My touchscreen needs to be disabled at the log-in screen.
How can I solve this? I tried modifying the
10-evdev.conf file but all I got is a purple screen and a broken Ubuntu setup.