Disable Touchscreen

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Jmurrs

Disable Touchscreen

Post by Jmurrs »

My dell xps has a glitchy problem with its touchscreen and it drives me crazy and I need to disable it.
I am running mint 14 cinnamon desktop.
I've tried xinput set-prop 13 "Device Enabled" 0 and that does not seem to turn off the touchscreen.
Help!
alicebtoklas
Level 1
Level 1
Posts: 20
Joined: Sat Nov 24, 2012 6:31 pm

Re: Disable Touchscreen

Post by alicebtoklas »

Type in the terminal:

Code: Select all

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

Code: Select all

xinput set-prop <device-name> "Device Enabled" 0
(So in my case it was

Code: Select all

xinput set-prop "Atmel Atmel maXTouch Digitizer" "Device Enabled" 0
)

And that's it.

If you you want to enable it back type

Code: Select all

xinput set-prop <device-name> "Device Enabled" 1
Linux Mint 21.2 Vanessa Cinnamon on Lenovo Thinkpad
FiruzzZ

Re: Disable Touchscreen

Post by FiruzzZ »

I got a problem with this, the device doesn't stay disabled, every time I reboot my book, it is enabled again.
How can I make this config permanently?
Buzzsaw
Level 6
Level 6
Posts: 1318
Joined: Sat Aug 23, 2014 12:53 pm

Re: Disable Touchscreen

Post by Buzzsaw »

Add the command to your autostart list.
SteveH_66

Re: Disable Touchscreen

Post by SteveH_66 »

Buzzsaw wrote:Add the command to your autostart list.
This was a very useful tip, as I don't really care for touchscreen on a laptop. But I am new to Mint and Linux in general, running Mint 17.3 KDE 64-bit, and I was wondering how do I find the autostart list? Thanks for any assistance
SteveH_66

Re: Disable Touchscreen

Post by SteveH_66 »

This fix wasn't working for me. It worked when I first started the computer, and stayed working until the computer suspended, the lid was closed or opened, etc. I lucked across what seems to be a permanent fix in the Ubuntu forums, and here is the link to that post :

http://ubuntuforums.org/showthread.php?t=2209083

As you can see, you edit the "/usr/share/X11/xorg.conf.d/10-evdev.conf" file. You edit the touchscreen section, which in my 10-evdev.conf file is the last section. It will have this identifier in the section - Identifier "evdev touchscreen catchall" - the identifier seems to be the 2nd line in all the sections. Just add in this line - Option "Ignore" "on" - I put it in as the last line before "End Section". Then I rebooted before it would take effect. You might be able to just log off and back on, not sure.

Seems to be working great for permanently disabling the touchscreen. If you want touchscreen functionality back, I'm sure just take the line out, or probably even comment it out with a # at the beginning of the line should work.

Oh, and if any other newbies like myself are looking for the autostart list for some other reason, I got the answer to that question in this post viewtopic.php?f=90&t=216794 along with some useful tips and information from the guru's that answered my question.
Iswearimtrin

Re: Disable Touchscreen

Post by Iswearimtrin »

Are y'all trolling? What you actually do is
xinput list
Then find your touchscreen name on that list ( should say "touchscreen" in the name)
Then put in
Xinput disable "DEVICE NAME"
REALLY ACTUALLY DONE :lol:
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: Disable Touchscreen

Post by Cosmo. »

Iswearimtrin wrote:Are y'all trolling?
Posting in a 2 years old thread leads to the question, what you are doing. At least I know, what you are not doing Do do not read or respect the forum rules (Section II, #2).
Iswearimtrin

Re: Disable Touchscreen

Post by Iswearimtrin »

Well this is all just very hard to find help for..... Do you know how i can get permission to edit this file? I tired opening it with sudo in the terminal but it still didn't let me edit it.
kido

Re: Disable Touchscreen

Post by kido »

Thank you guys. For me worked perfectly

Code: Select all

kido@kido ~ $ xinput list
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ Logitech USB Optical Mouse              	id=9	[slave  pointer  (2)]
⎜   ↳ SEM USB Keyboard                        	id=11	[slave  pointer  (2)]
⎜   ↳ ELAN Touchscreen                        	id=12	[slave  pointer  (2)]
⎜   ↳ ETPS/2 Elantech Touchpad                	id=15	[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)]
    ↳ SEM USB Keyboard                        	id=10	[slave  keyboard (3)]
    ↳ HD WebCam                               	id=13	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=14	[slave  keyboard (3)]
    ↳ Acer WMI hotkeys                        	id=16	[slave  keyboard (3)]
    ↳ SEM USB Keyboard                        	id=17	[slave  keyboard (3)]
kido@kido ~ $ xinput set-prop "ELAN Touchscreen" "Device Enabled" 0
kido@kido ~ $ xinput set-prop "ELAN Touchscreen" "Device Enabled" 1
kido@kido ~ $ xinput set-prop "ELAN Touchscreen" "Device Enabled" 0
Very easy to disable and very easy to enable it back. The above console is from an Acer Aspire V5.
mordjinn

Re: Disable Touchscreen

Post by mordjinn »

alicebtoklas wrote: Sat Nov 30, 2013 6:41 am Type in the terminal:

Code: Select all

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

Code: Select all

xinput set-prop <device-name> "Device Enabled" 0
(So in my case it was

Code: Select all

xinput set-prop "Atmel Atmel maXTouch Digitizer" "Device Enabled" 0
)

And that's it.

If you you want to enable it back type

Code: Select all

xinput set-prop <device-name> "Device Enabled" 1
Thanks for this. It still works for Sylvia.
Locked

Return to “Other topics”