DELL INSPIRON ONE 2320 (How do I disable touch screen)

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
VaughanZA

DELL INSPIRON ONE 2320 (How do I disable touch screen)

Post by VaughanZA »

Hi Everyone

I am currently running Linux Mint 14 x64 Cinnamon on my work machine. Which is a INSPIRON ONE 2320, the touchscreen works on the machine. However it causes random issues with object selection afterwards. How do I disable the touchscreen device permonantly?

I used xinput disable but it didn't work.

Any ideas?

Thanks
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Favux

Re: DELL INSPIRON ONE 2320 (How do I disable touch screen)

Post by Favux »

Do you know which driver the touchscreen is on? Is it evdev?

What is the output of the following command in a terminal?

Code: Select all

xinput list
VaughanZA

Re: DELL INSPIRON ONE 2320 (How do I disable touch screen)

Post by VaughanZA »

Thank you for your reply

van@E ~ $ xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Quanta OpticalTouchScreen id=9 [slave pointer (2)]
⎜ ↳ Dell Dell KM632 Wireless Keyboard and Mouse id=12 [slave pointer (2)]
⎜ ↳ Dell Dell KM632 Wireless Keyboard and Mouse id=13 [slave pointer (2)]
⎜ ↳ USB OPTICAL MOUSE id=14 [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)]
↳ Power Button id=8 [slave keyboard (3)]
↳ Laptop_Integrated_Webcam_HD id=10 [slave keyboard (3)]
↳ Dell Dell KM632 Wireless Keyboard and Mouse id=11 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=15 [slave keyboard (3)]
↳ Dell AIO WMI hotkeys id=16 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
van@E ~ $
VaughanZA

Re: DELL INSPIRON ONE 2320 (How do I disable touch screen)

Post by VaughanZA »

I eventually figured this out

Used the following:

xinput set-prop 9 "Device Enabled" 0
Favux

Re: DELL INSPIRON ONE 2320 (How do I disable touch screen)

Post by Favux »

Good work.

Device ID # can vary with hotplugging so it is better to use the <device name>.

For a touch toggle script you could use the following. Call it evdev_touch-toggle.sh or some such:

Code: Select all

#!/bin/bash

## evdev touch toggle script
##
## For touch state notification use:
##   sudo apt-get install libnotify-bin
## Otherwise comment (#) out the two notify-send lines.
## If installed see 'man notify-send'.

if [ -f /tmp/touch_off ]; then
	xinput set-prop "Quanta OpticalTouchScreen" "Device Enabled" 1
	notify-send -t 1500 "Quanta OpticalTouchScreen touch ON"
	rm -f /tmp/touch_off && exit 0
else
	xinput set-prop "Quanta OpticalTouchScreen" "Device Enabled" 0
	notify-send -t 1500 "Quanta OpticalTouchScreen touch OFF"
	echo 1 > /tmp/touch_off && exit 0
fi
Remember to make the script executable. You could place it in a launcher if wanted. Wonder if you can still drag a launcher into a panel for single click?
Locked

Return to “Graphics Cards & Monitors”