yum -y install xorg-x11-apps
xinput list
xinput list-props "SynPS/2 Synaptics TouchPad"
#禁用
xinput --set-prop "SynPS/2 Synaptics TouchPad" "Device Enabled" 0
#恢復
xinput --set-prop "SynPS/2 Synaptics TouchPad" "Device Enabled" 1
centOS6 禁用觸摸板
禁用觸摸板
synclient TouchpadOff=1
啓用觸摸板
synclient TouchpadOff=0
synclient 可以設置很多參數,查看如下
[feng@fsc ~]$ synclient -l
Parameter settings:
LeftEdge
= 1781
RightEdge
= 5579
TopEdge
= 1646
BottomEdge
= 4582
FingerLow
= 24
FingerHigh
= 29
FingerPress
= 255
MaxTapTime
= 180
MaxTapMove
= 245
MaxDoubleTapTime
= 180
SingleTapTimeout
= 180
ClickTime
= 100
FastTaps
= 0
EmulateMidButtonTime
= 75
EmulateTwoFingerMinZ
= 280
EmulateTwoFingerMinW
= 6
VertScrollDelta
= 111
HorizScrollDelta
= 111
VertEdgeScroll
= 0
HorizEdgeScroll
= 0
CornerCoasting
= 0
VertTwoFingerScroll
= 1
HorizTwoFingerScroll
= 1