Gentoo Archives: gentoo-user

From: joost@××××××××.org
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] udev doesn't turn off touchpad on boot.
Date: Mon, 16 Sep 2013 02:33:38
Message-Id: ff8ca57f-d87f-447b-8c42-29ca2c6737d6@email.android.com
In Reply to: [gentoo-user] udev doesn't turn off touchpad on boot. by "东方巽雷"
1 "东方巽雷" <dongfangxunlei@×××××.com> wrote:
2 >I have /etc/udev/rules.d/touchpad.rules,content as below:
3 >ACTION=="add", SUBSYSTEM=="input", KERNEL=="mouse[0-9]",
4 >ENV{DISPLAY}=":0",
5 >ENV{XAUTHORITY}="/home/gentoo/.Xauthority", ENV{ID_CLASS}="mouse",
6 >ENV{REMOVE_CMD}="/usr/bin/synclient TouchpadOff=0",
7 >RUN+="/usr/bin/synclient TouchpadOff=1"
8 >
9 >
10 >My user name is gentoo.I notice that this rules not work when boot into
11 >desktop.In orderv to disable touchpad,I must restart udev service or
12 >remove
13 >usb mouse and connect again.
14 >Can it be solved?
15
16 Do you have /usr on a seperate partition?
17 If yes, do you use an initramfs to mount it at boot?
18
19 --
20 Joost
21 --
22 Sent from my Android device with K-9 Mail. Please excuse my brevity.

Replies

Subject Author
Re: [gentoo-user] udev doesn't turn off touchpad on boot. "东方巽雷" <dongfangxunlei@×××××.com>