诡异的触摸板udev互斥和火狐...
发表于 : 2009-03-13 13:26
按照ee的udev规则弄好了触摸板和鼠标互斥,一切都很好,其他软件也很正常,和ee唯一不同的是我原来触摸板是由psmouse这个模块控制,我在xorgconf里手动加了两段以支持Synaptics,结果,其他软件正常,触摸板正常,只有鼠标加火狐的情况下才有问题..
单击变双击,右键失效,标签页点两下才关掉..
help..
单击变双击,右键失效,标签页点两下才关掉..
help..
代码: 全选
sudo vim /etc/X11/xorg.conf
###############
#Add these lines after "mouse"
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
Option "SHMConfig" "on"
EndSection
#Add these lines at the ending
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
EndSection
###############
sudo vim /etc/udev/rules.d/66-touchpad.rules
###############
ACTION=="add", SUBSYSTEM=="input", ID_CLASS=="mouse", RUN+="/usr/bin/synclient TouchpadOff=1"
ACTION=="remove", SUBSYSTEM=="input", ID_CLASS=="mouse", RUN+="/usr/bin/synclient TouchpadOff=0"
###############