linux用命令开触摸板,centos 6 linux下禁用触摸板(通过命令行实现)

禁用触摸板

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

MinSpeed                = 0.4

MaxSpeed                = 0.7

AccelFactor             = 0.00896057

TrackstickSpeed         = 40

EdgeMotionMinZ          = 29

EdgeMotionMaxZ          = 159

EdgeMotionMinSpeed      = 1

EdgeMotionMaxSpeed      = 446

EdgeMotionUseAlways     = 0

UpDownScrolling         = 1

LeftRightScrolling      = 1

UpDownScrollRepeat      = 1

LeftRightScrollRepeat   = 1

ScrollButtonRepeat      = 100

TouchpadOff             = 0

GuestMouseOff           = 0

LockedDrags             = 0

LockedDragTimeout       = 5000

RTCornerButton          = 0

RBCornerButton          = 0

LTCornerButton          = 0

LBCornerButton          = 0

TapButton1              = 1

TapButton2              = 3

TapButton3              = 2

ClickFinger1            = 1

ClickFinger2            = 1

ClickFinger3            = 1

CircularScrolling       = 0

CircScrollDelta         = 0.1

CircScrollTrigger       = 0

CircularPad             = 0

PalmDetect              = 0

PalmMinWidth            = 9

PalmMinZ                = 199

CoastingSpeed           = 0

PressureMotionMinZ      = 29

PressureMotionMaxZ      = 159

PressureMotionMinFactor = 1

PressureMotionMaxFactor = 1

GrabEventDevice         = 1

TapAndDragGesture       = 1

AreaLeftEdge            = 0

AreaRightEdge           = 0

AreaTopEdge             = 0

AreaBottomEdge          = 0

方法参考于 http://forum.ubuntu.org.cn/viewtopic.php?t=240353

延伸阅读coded by nessus

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值