Gentoo Archives: gentoo-user

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

Replies

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