1.用apt安装XFree86-driver-synaptics
2.修改/etc/X11/xorg.conf文件,请务必在修改该文件前做一次备份.以免修改失误导致重新启动后无法进入X,那时你可以用VI来打开文件检查,或者直接还原为原文件.
a>在Section "Module"后加入:
Load "synaptics"
b>删除或者用#来屏蔽以下语句:
Section "InputDevice"
Identifier "Configured Mouse"
......
EndSection
Section "InputDevice"
Identifier "Generic Mouse"
......
EndSection
c>加入以下语句:
Section "InputDevice"
Driver "synaptics"
Identifier "Mouse[1]"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "LeftEdge" "100"
Option "RightEdge" "850"
Option "TopEdge" "100"
Option "BottomEdge" "700"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "120"
Option "MaxTapMove" "220"
Option "VertEdgeScroll" "1"
Option "VertScrollDelta" "100"
Option "HorizEdgeScroll" "1"
Option "MinSpeed" "0.50"
Option "MaxSpeed" "0.50"
Option "AccelFactor" "0.15"
Option "FastTaps" "1"
Option "EmulateMidButtonTime" "100"
Option "SHMConfig" "on"
# Option "MaxDoubleTapTime" "300"
# Option "Repeater" "/dev/ps2mouse"
EndSectione>在Section "ServerLayout"
下删除或者屏蔽:
InputDevice "Configured Mouse"
InputDevice "Generic Mouse"
添加以下语句:
InputDevice "Mouse[1]"
重新启动机器,OK了.
我加的注:
注意,根据需要自行更改Identifier "Mouse[1]"那个session里面的参数
也可以在终端里打入synclient 某某=某某来动态地改,如synclient MaxSpeed=0.3等
具体参见man synaptics(重要)