X360

This question already has an answer here:.5 answersRecently 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.

Turn Off Touch Screen Windows 10

The link shared by @Whiteboy works.In file /usr/share/X11/xorg.conf.d/10-evdev.conf, changing the 'evdev' to the 'libinput' in 'Driver' section of the touchscreen should do the trick.So now it looks like this: ## Catch-all evdev loader for udev-based systems# We don't simply match on any device since that also adds accelerometers# and other devices that we don't really want to use. I've spent a long time looking for a solution to a similar problem I've been having for my old Asus X200MA. I never could find a software solution that stuck so I eventually opened up the laptop and unplugged the cable for the touchscreen. (It was way out of warranty anyway.) It's not elegant, and it may or may not even be possible on some other laptops, but it worked for me.This iFixit guide might help.It looked like the guide on the top cover removal might contain the needed information. If, however, the screen control cable and the touch screen cable are bundled together then this method obviously won't help much.