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. |