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

Screen resolution, 3D Acceleration, nVidia, ATI
Forum rules
Before you post please read this

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

Postby VaughanZA on Wed Jan 23, 2013 5:04 am

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
VaughanZA
Level 1
Level 1
 
Posts: 7
Joined: Tue Jan 22, 2013 2:28 am
Location: South Africa

Linux Mint is funded by ads and donations.
 

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

Postby Favux on Fri Jan 25, 2013 7:35 pm

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
Favux
Level 3
Level 3
 
Posts: 199
Joined: Fri Jul 01, 2011 1:20 am

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

Postby VaughanZA on Mon Jan 28, 2013 1:44 am

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
Level 1
Level 1
 
Posts: 7
Joined: Tue Jan 22, 2013 2:28 am
Location: South Africa

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

Postby VaughanZA on Mon Jan 28, 2013 1:58 am

I eventually figured this out

Used the following:

xinput set-prop 9 "Device Enabled" 0
VaughanZA
Level 1
Level 1
 
Posts: 7
Joined: Tue Jan 22, 2013 2:28 am
Location: South Africa

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

Postby Favux on Mon Jan 28, 2013 10:19 am

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?
Favux
Level 3
Level 3
 
Posts: 199
Joined: Fri Jul 01, 2011 1:20 am


Return to Graphic Cards & Monitors

Who is online

Users browsing this forum: No registered users and 5 guests