Gentoo Archives: gentoo-user

From: "东方巽雷" <dongfangxunlei@×××××.com>
To: gentoo-user <gentoo-user@l.g.o>
Subject: [gentoo-user] udev doesn't turn off touchpad on boot.
Date: Mon, 16 Sep 2013 02:12:56
Message-Id: CAKxh67Wwhc3VaVjBdGiRRQ+XzEgu-fu6qzNXn1DOmNntVb6T4g@mail.gmail.com
1 I have /etc/udev/rules.d/touchpad.rules,content as below:
2 ACTION=="add", SUBSYSTEM=="input", KERNEL=="mouse[0-9]", ENV{DISPLAY}=":0",
3 ENV{XAUTHORITY}="/home/gentoo/.Xauthority", ENV{ID_CLASS}="mouse",
4 ENV{REMOVE_CMD}="/usr/bin/synclient TouchpadOff=0",
5 RUN+="/usr/bin/synclient TouchpadOff=1"
6
7
8 My user name is gentoo.I notice that this rules not work when boot into
9 desktop.In orderv to disable touchpad,I must restart udev service or remove
10 usb mouse and connect again.
11 Can it be solved?

Replies

Subject Author
Re: [gentoo-user] udev doesn't turn off touchpad on boot. joost@××××××××.org