我在 Vizio CT15 Ultrabook 上安装了 Sentelic FingerSensingPad。我使用的是内核 3.9。
我无法单击并拖动(即用一个手指单击,然后用另一个手指移动窗口。)
设置 synaptic ClickPad=1 没有帮助。调整 AreaBottomEdge 确实会使点击板底部的一部分无法使用,但我仍然无法点击和拖动。它记录了点击,但没有记录拖动。
我在下面粘贴了 xinput 和 synclient 的输出:
-> xinput list-props "FSPPS/2 Sentelic FingerSensingPad"
Device 'FSPPS/2 Sentelic FingerSensingPad':
Device Enabled (134): 1
Coordinate Transformation Matrix (136): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (262): 1
Device Accel Constant Deceleration (263): 2.500000
Device Accel Adaptive Deceleration (264): 1.000000
Device Accel Velocity Scaling (265): 12.500000
Synaptics Edges (286): 38, 929, 38, 673
Synaptics Finger (287): 25, 30, 256
Synaptics Tap Time (288): 180
Synaptics Tap Move (289): 52
Synaptics Tap Durations (290): 180, 180, 100
Synaptics ClickPad (291): 1
Synaptics Tap FastTap (292): 0
Synaptics Middle Button Timeout (293): 75
Synaptics Two-Finger Pressure (294): 282
Synaptics Two-Finger Width (295): 7
Synaptics Scrolling Distance (296): 24, 24
Synaptics Edge Scrolling (297): 0, 0, 0
Synaptics Two-Finger Scrolling (298): 1, 1
Synaptics Move Speed (299): 1.000000, 1.750000, 0.166667, 40.000000
Synaptics Edge Motion Pressure (300): 30, 160
Synaptics Edge Motion Speed (301): 1, 96
Synaptics Edge Motion Always (302): 0
Synaptics Off (303): 2
Synaptics Locked Drags (304): 0
Synaptics Locked Drags Timeout (305): 5000
Synaptics Tap Action (306): 0, 0, 0, 0, 0, 0, 0
Synaptics Click Action (307): 1, 1, 0
Synaptics Circular Scrolling (308): 0
Synaptics Circular Scrolling Distance (309): 0.100000
Synaptics Circular Scrolling Trigger (310): 0
Synaptics Circular Pad (311): 0
Synaptics Palm Detection (312): 0
Synaptics Palm Dimensions (313): 10, 200
Synaptics Coasting Speed (314): 20.000000, 50.000000
Synaptics Pressure Motion (315): ... of unknown type CARDINAL
Synaptics Pressure Motion Factor (316): 1.000000, 1.000000
Synaptics Resolution Detect (317): 1
Synaptics Grab Event Device (318): 1
Synaptics Gestures (319): 1
Synaptics Capabilities (320): 1, 0, 1, 1, 0, 0, 0
Synaptics Pad Resolution (321): 1, 1
Synaptics Area (322): 0, 0, 0, 0
Synaptics Noise Cancellation (323): 6, 6
Device Product ID (251): 2, 15
Device Node (252): "/dev/input/event12"
Synaptics Soft Button Areas (581): 0, 0, 0, 0, 0, 0, 0, 0
-> synclient
Parameter settings:
LeftEdge = 38
RightEdge = 929
TopEdge = 38
BottomEdge = 673
FingerLow = 25
FingerHigh = 30
FingerPress = 256
MaxTapTime = 180
MaxTapMove = 52
MaxDoubleTapTime = 180
SingleTapTimeout = 180
ClickTime = 100
FastTaps = 0
EmulateMidButtonTime = 75
EmulateTwoFingerMinZ = 282
EmulateTwoFingerMinW = 7
VertScrollDelta = 24
HorizScrollDelta = 24
VertEdgeScroll = 0
HorizEdgeScroll = 0
CornerCoasting = 0
VertTwoFingerScroll = 1
HorizTwoFingerScroll = 1
MinSpeed = 1
MaxSpeed = 1.75
AccelFactor = 0.166667
TrackstickSpeed = 40
EdgeMotionMinZ = 30
EdgeMotionMaxZ = 160
EdgeMotionMinSpeed = 1
EdgeMotionMaxSpeed = 96
EdgeMotionUseAlways = 0
TouchpadOff = 2
LockedDrags = 0
LockedDragTimeout = 5000
RTCornerButton = 0
RBCornerButton = 0
LTCornerButton = 0
LBCornerButton = 0
TapButton1 = 0
TapButton2 = 0
TapButton3 = 0
ClickFinger1 = 1
ClickFinger2 = 1
ClickFinger3 = 0
CircularScrolling = 0
CircScrollDelta = 0.1
CircScrollTrigger = 0
CircularPad = 0
PalmDetect = 0
PalmMinWidth = 10
PalmMinZ = 200
CoastingSpeed = 20
CoastingFriction = 50
PressureMotionMinZ = 30
PressureMotionMaxZ = 160
PressureMotionMinFactor = 1
PressureMotionMaxFactor = 1
ResolutionDetect = 1
GrabEventDevice = 1
TapAndDragGesture = 1
AreaLeftEdge = 0
AreaRightEdge = 0
AreaTopEdge = 0
AreaBottomEdge = 0
HorizHysteresis = 6
VertHysteresis = 6
ClickPad = 1
RightButtonAreaLeft = 0
RightButtonAreaRight = 0
RightButtonAreaTop = 0
RightButtonAreaBottom = 0
MiddleButtonAreaLeft = 0
MiddleButtonAreaRight = 0
MiddleButtonAreaTop = 0
MiddleButtonAreaBottom = 0
答案1
我认为您正在寻找的是“拖动锁定”功能,这样您就可以选择、拖动到您想要的位置(锁定),然后再次点击以释放锁定。如果这就是您想要的,您可以运行此命令
synclient LockedDrags=1
但是当您结束会话时,您需要再次执行此操作。为了保持,我已将此命令放入~/.bash_profile
。如果文件不存在,请创建它。还有其他选择,但这对我来说很好。
新编辑:
顺便说一下,这是我的 bash_profile 的样子。
synclient VertTwoFingerScroll=1
synclient HorizTwoFingerScroll=1
synclient CircularScrolling=1
synclient CircScrollTrigger=3
synclient VertScrollDelta=-111
synclient HorizScrollDelta=-111
synclient LockedDrags=1
CircScrollTrigger=3,表示我只能从区域“3”(右边缘)开始“循环滚动”。Delta=-111 反转默认方向。值“1”表示启用这些属性。
評論編輯:
我注意到有一个错误会覆盖上面使用的设置。经过一番研究,我找到了一个解决方案,我将其复制到此处以防链接断开。
以下是如何让您的自定义触摸板配置在重启甚至挂起时保持不变。首先创建一个文件来保存您的脚本。运行此命令在您的主目录中创建一个 touchpad_settings.sh 文件并打开它:
gedit ~/touchpad_settings.sh
将 synclient 命令添加到此文件并保存。我的命令如下:
synclient SingleTapTimeout=360 FastTaps=1
synclient TapButton2=2 TapButton3=3
使文件可执行:
chmod +x ~/touchpad_settings.sh
最后,设置 dconf 设置,以便 GNOME 知道在哪里找到您的脚本。运行以下命令,但将 tom 替换为您自己的用户名:
gsettings set org.gnome.settings-daemon.peripherals.input-devices hotplug-command "/home/tom/touchpad_settings.sh"
来源:http://tombuntu.com/index.php/2011/11/06/persistent-touchpad-configuration-in-ubuntu-11-10/