yum -y install xorg-x11-apps
禁用触摸板
synclient TouchpadOff=1
启用触摸板
synclient TouchpadOff=0
synclient 可以设置很多参数,查看如下
[feng@fsc ~]$ synclient -l
Parameter settings:
LeftEdge
RightEdge
TopEdge
BottomEdge
FingerLow
FingerHigh
FingerPress
MaxTapTime
MaxTapMove
MaxDoubleTapTime
SingleTapTimeout
ClickTime
FastTaps
EmulateMidButtonTime
EmulateTwoFingerMinZ
EmulateTwoFingerMinW
VertScrollDelta
HorizScrollDelta
VertEdgeScroll
HorizEdgeScroll
CornerCoasting
VertTwoFingerScroll
HorizTwoFingerScroll
MinSpeed
MaxSpeed
AccelFactor
TrackstickSpeed
EdgeMotionMinZ
EdgeMotionMaxZ
EdgeMotionMinSpeed
EdgeMotionMaxSpeed
EdgeMotionUseAlways
UpDownScrolling
LeftRightScrolling
UpDownScrollRepeat
LeftRightScrollRepeat
ScrollButtonRepeat
TouchpadOff
GuestMouseOff
LockedDrags
LockedDragTimeout
RTCornerButton
RBCornerButton
LTCornerButton
LBCornerButton
TapButton1
TapButton2
TapButton3
ClickFinger1
ClickFinger2
ClickFinger3
CircularScrolling
CircScrollDelta
CircScrollTrigger
CircularPad
PalmDetect
PalmMinWidth
PalmMinZ
CoastingSpeed
PressureMotionMinZ
PressureMotionMaxZ
PressureMotionMinFactor = 1
PressureMotionMaxFactor = 1
GrabEventDevice
TapAndDragGesture
AreaLeftEdge
AreaRightEdge
AreaTopEdge
AreaBottomEdge