允许在打字时点击吗?

允许在打字时点击吗?

我在使用 Ubuntu 15.10,我想知道如何在打字时启用点击功能。

编辑:由于某种原因,这目前是一种解决方法,但我无法从逻辑上理解如何操作。仅杀死它并不能解决问题,仅设置 synclient 和 xinput 也不能​​解决问题,通常关闭它会导致触摸板失去功能,但出于某种原因,如果同时关闭它,它就会起作用。这是目前的解决方法,但我仍然希望得到适当的修复。

#!/bin/bash
synclient TouchpadOff=0
xinput --set-prop 13 "Synaptics Off" 0
wait 20
killall syndaemon
wait 2
killall syndaemon

如果我按下按键,我无法点击,我仍然可以按下鼠标左键和右键进行点击并且它注册,我仍然可以使用触摸板移动鼠标并且它也会注册,但我希望能够轻敲在打字时单击,它也会禁用滚动,但我并不太在意在打字时滚动。

除了打字时,其他所有时间我都可以点击,我不知道为什么它只会禁用点击而不会在打字时单击或移动鼠标指针......

我尝试检查 Synaptics 并且我的配置几乎是默认的:

Synaptics 通用 突触敲击 Gnome 设置守护进程

Xinput 道具:

Device 'SynPS/2 Synaptics TouchPad':
Device Enabled (167):   1
Coordinate Transformation Matrix (169): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (289): 1
Device Accel Constant Deceleration (290):   2.500000
Device Accel Adaptive Deceleration (291):   1.000000
Device Accel Velocity Scaling (292):    12.500000
Synaptics Edges (314):  1629, 5353, 1445, 4467
Synaptics Finger (315): 25, 30, 0
Synaptics Tap Time (316):   180
Synaptics Tap Move (317):   245
Synaptics Tap Durations (318):  180, 100, 100
Synaptics ClickPad (319):   1
Synaptics Middle Button Timeout (320):  0
Synaptics Two-Finger Pressure (321):    282
Synaptics Two-Finger Width (322):   7
Synaptics Scrolling Distance (323): -111, -111
Synaptics Edge Scrolling (324): 0, 0, 0
Synaptics Two-Finger Scrolling (325):   1, 1
Synaptics Move Speed (326): 1.000000, 1.750000, 0.035874, 0.000000
Synaptics Off (327):    2
Synaptics Locked Drags (328):   0
Synaptics Locked Drags Timeout (329):   5000
Synaptics Tap Action (330): 2, 3, 0, 0, 1, 3, 2
Synaptics Click Action (331):   1, 3, 0
Synaptics Circular Scrolling (332): 0
Synaptics Circular Scrolling Distance (333):    0.100000
Synaptics Circular Scrolling Trigger (334): 0
Synaptics Circular Pad (335):   0
Synaptics Palm Detection (336): 0
Synaptics Palm Dimensions (337):    10, 200
Synaptics Coasting Speed (338): 20.000000, 50.000000
Synaptics Pressure Motion (339):    30, 160
Synaptics Pressure Motion Factor (340): 1.000000, 1.000000
Synaptics Resolution Detect (341):  1
Synaptics Grab Event Device (342):  0
Synaptics Gestures (343):   1
Synaptics Capabilities (344):   1, 0, 0, 1, 1, 1, 1
Synaptics Pad Resolution (345): 58, 41
Synaptics Area (346):   0, 0, 0, 0
Synaptics Soft Button Areas (347):  3491, 0, 4079, 0, 0, 0, 0, 0
Synaptics Noise Cancellation (348): 27, 27
Device Product ID (284):    2, 7
Device Node (285):  "/dev/input/event7"

我努力了

xinput --set-prop 13 "Synaptics Off" 0

synclient TouchpadOff=0

但当按下某个键时,它当然会恢复为“2”。我如何强制它保持为 0?

我实在不知道我这一生该做些什么。

相关内容