「synclient」

  CREATED BY JENKINSBOT

synclient,用于修改Synaptics驱动选项的命令行程序。

命令行语法格式

synclient [-lV?] [var1=value1 [var2=value2] …]

命令支持的选项及含义

-l
列出当前用户的设置。该选项是默认的。

-V / -?
打印版本和帮助信息。

var=value
将参数var设置为value。关于参数的含义见“可设置的参数及含义”章节。

可设置的参数及含义

以下为synclient支持的参数列表以及在我笔记本中的默认值:

LeftEdge = 300
RightEdge = 1700
TopEdge = 210
BottomEdge = 1190
FingerLow = 12
FingerHigh = 15
MaxTapTime = 180
MaxTapMove = 107
MaxDoubleTapTime = 100
SingleTapTimeout = 180
ClickTime = 100
EmulateMidButtonTime = 75
EmulateTwoFingerMinZ = 141
EmulateTwoFingerMinW = 7
VertScrollDelta = 48
HorizScrollDelta = 48
VertEdgeScroll = 0
HorizEdgeScroll = 0
CornerCoasting = 0
VertTwoFingerScroll = 1
HorizTwoFingerScroll = 1
MinSpeed = 1
MaxSpeed = 1.75
AccelFactor = 0.0819336
TouchpadOff = 2
LockedDrags = 0
LockedDragTimeout = 5000
RTCornerButton = 2
RBCornerButton = 3
LTCornerButton = 0
LBCornerButton = 0
TapButton1 = 1
TapButton2 = 3
TapButton3 = 0
ClickFinger1 = 1
ClickFinger2 = 1
ClickFinger3 = 0
CircularScrolling = 0
CircScrollDelta = 0.1
CircScrollTrigger = 0
CircularPad = 0
PalmDetect = 0
PalmMinWidth = 10
PalmMinZ = 100
CoastingSpeed = 20
CoastingFriction = 50
PressureMotionMinZ = 15
PressureMotionMaxZ = 80
PressureMotionMinFactor = 1
PressureMotionMaxFactor = 1
ResolutionDetect = 1
GrabEventDevice = 0
TapAndDragGesture = 1
AreaLeftEdge = 0
AreaRightEdge = 0
AreaTopEdge = 0
AreaBottomEdge = 0
HorizHysteresis = 12
VertHysteresis = 12
ClickPad = 0

相关的配置文件

/etc/X11/xorg.conf

示例

比如,禁用EdgeMotionMinSpeed:

#!/bin/sh

synclient EdgeMotionMinSpeed=0

相关程序

Xorg(1), syndaemon(1), synaptics(4)

参考文献

Ubuntu 16.04 LTS / man 1 synclient
X.Org / synapticshttps://www.x.org/archive/X11R7.5/doc/man/man4/synaptics.4.html