zy_sunshine 发表于 2010-5-10 11:31:25

关于touchpad点击触摸区域单击失效的问题

命令:
synclient TapButton1=1
synclient TapButton2=3
synclient TapButton3=2

或者在xorg.conf中配置
例如:
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "LeftEdge" "1900"
Option "RightEdge" "5000"
Option "TopEdge" "1400"
Option "BottomEdge" "4500"
Option "FingerLow" "25"
Option "FingerHigh" "35"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "ClickTime" "0"
Option "VertEdgeScroll" "1"
Option "VertScrollDelta" "45"
Option "HorizEdgeScroll" "1"
Option "HorizScrollDelta" "45"
Option "MinSpeed" "0.08"
Option "MaxSpeed" "0.60"
Option "AccelFactor" "0.003"
Option "EdgeMotionMinSpeed" "200"
Option "EdgeMotionMaxSpeed" "200"
Option "TapButton1" "1"
Option "TapButton2" "3"
Option "TapButton3" "2"
EndSection


Section "ServerLayout"
Identifier "Default Layout"
Inputdevice "Synaptics Touchpad"
EndSection

再附一个脚本
if [ `synclient -l | grep TapButton1 | gawk -F '= ' '{ print $2 }'` -eq 0 ]; then
        synclient TapButton1=1
        synclient TapButton2=3
        synclient TapButton3=2
fi
页: [1]
查看完整版本: 关于touchpad点击触摸区域单击失效的问题