"东方巽雷" <dongfangxun...@gmail.com> wrote: >I have /etc/udev/rules.d/touchpad.rules,content as below: >ACTION=="add", SUBSYSTEM=="input", KERNEL=="mouse[0-9]", >ENV{DISPLAY}=":0", >ENV{XAUTHORITY}="/home/gentoo/.Xauthority", ENV{ID_CLASS}="mouse", >ENV{REMOVE_CMD}="/usr/bin/synclient TouchpadOff=0", >RUN+="/usr/bin/synclient TouchpadOff=1" > > >My user name is gentoo.I notice that this rules not work when boot into >desktop.In orderv to disable touchpad,I must restart udev service or >remove >usb mouse and connect again. >Can it be solved?
Do you have /usr on a seperate partition? If yes, do you use an initramfs to mount it at boot? -- Joost -- Sent from my Android device with K-9 Mail. Please excuse my brevity.