Page 1 of 1
DELL INSPIRON ONE 2320 (How do I disable touch screen)
Posted: Wed Jan 23, 2013 5:04 am
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
Re: DELL INSPIRON ONE 2320 (How do I disable touch screen)
Posted: Fri Jan 25, 2013 7:35 pm
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?
Re: DELL INSPIRON ONE 2320 (How do I disable touch screen)
Posted: Mon Jan 28, 2013 1:44 am
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 ~ $
Re: DELL INSPIRON ONE 2320 (How do I disable touch screen)
Posted: Mon Jan 28, 2013 1:58 am
by VaughanZA
I eventually figured this out
Used the following:
xinput set-prop 9 "Device Enabled" 0
Re: DELL INSPIRON ONE 2320 (How do I disable touch screen)
Posted: Mon Jan 28, 2013 10:19 am
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?