FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 11-19-2009, 05:22 PM
Matteo Riva
 
Default udev script to disable touchpad on mouse connect

I have this little nice script in udev rules.d/

KERNEL=="mouse?", ACTION=="add", RUN="/usr/bin/xinput --set-int-prop
2 115 8 0"
KERNEL=="mouse?", ACTION=="remove", RUN="/usr/bin/xinput
--set-int-prop 2 115 8 1"

it used to call `synclient TouchPadOff 1` but it doesn't seem to work
anymore, since today's big full-upgrade (testing). Those two commands
work fine from the command line, but apparently they aren't run from
udev anymore. Did something change in udev recently? The KERNEL name of
the device seems to still be mouse0, any suggestion on how to make it
work again?

Thanks


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 02:39 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org