触摸板双击按住不起作用

触摸板双击按住不起作用

我以前可以双击并按住触摸板来拖放东西。自从我升级到 oneric ocelot 后,它只有 10% 的时间可以工作。他们使用什么程序来记录触摸板,我该如何将其改回来。升级和直接安装的人都报告了同样的问题,所以这似乎是 oneric 的错误。

答案1

这个解决方案对我有用

去: http://tombuntu.com/index.php/2011/10/31/fix-for-touchpad-trouble-in-ubuntu-11-10/

摘自帖子:

Ubuntu 11.10 在我的 Eee PC 901 上引入的一个问题是触摸板拖动。点击并拖动手势(按下鼠标按钮移动光标)太敏感了。每次我都必须尽可能快地点击才能激活该手势

运行此命令以获取点击被解释为单击之前的超时时间:synclient | grep "SingleTapTimeout"

在我的系统上,此选项设置为 180,这太快了。运行此命令将超时时间加倍至 360:synclient SingleTapTimeout=360

感谢汤姆。

答案2

我只能回答你一半的问题,我也遇到了同样的问题。10% 的时间里,你可能非常快速地点击两次,但那时它实际上会按照你想要的方式工作。你可以改变你的行为(快速点击两次然后拖动)来获得你想要的结果,但更全面的解决方案是修复双击时间以及拖动。

我没有真正的解决方案,但可以告诉你一些不起作用但应该起作用的方法。使用超级键(通常是 Windows 键)转到启动器/搜索,输入鼠标,然后选择“鼠标和触摸板”。您可以更改双击时间间隔,双击将触发更长的点击间隔但双击然后拖动动作不会受到影响。我个人在尝试选择文本时注意到了这一点。我会为这篇文章点赞,但没有足够的声誉……请接受此为部分答案,当我获得足够的声誉时,我会点赞。希望这能有所帮助,找到更好的解决方案了吗?

答案3

我发现了一个执着的即使在暂停后,也请按照以下步骤进行修复。

首先,使用配置脚本创建一个文件:

echo synclient SingleTapTimeout=320 FastTaps=1 > ~/etc/touchpad_settings.sh

其次,使其可执行:

chmod +x ~/etc/touchpad_settings.sh

最后,运行以下命令,将“<user>”替换为您的用户名:

gsettings set org.gnome.settings-daemon.peripherals.input-devices hotplug-command "/home/<user>/etc/touchpad_settings.sh"

然后重新启动,或注销并登录,或暂停并恢复,或重新启动 GNOME。

享受!

有关此修复的详细信息,请参阅这篇博文

答案4

对我来说,这个问题是由以下原因引起的,Option "TapAndDragGesture" "0"所以我将其设置为 1,现在它可以正常工作

要进行临时测试,请运行此命令
synclient TapAndDragGesture=1

如果没问题,你可以编辑 xorg 配置文件/etc/X11/xorg.conf.d/...以使其永久生效

作为参考:

man synaptics

或者
-https://wiki.archlinux.org/index.php/Touchpad_Synaptics

配置示例:
-https://wiki.archlinux.org/index.php/Touchpad_Synaptics/10-synaptics.conf_example

这是我的文件内容

Section "InputClass"
  Identifier "touchpad catchall"
  Driver "synaptics"
  MatchIsTouchpad "on"
    # Enable touchpad
    Option "TouchpadOff"        "0"
    # Allow run-time configuration
    # Option "SHMConfig"           "on"  # deprecated
    # Edge Limits
    Option "LeftEdge" "1748"
    Option "RightEdge" "5640"
    Option "TopEdge" "1274"
    Option "BottomEdge" "4752"
    # Speed
    Option "MinSpeed" "1.0"
    Option "MaxSpeed" "1.6"
    Option "AccelFactor" "0.032"
    # Pressure
    Option "FingerLow" "24"
    Option "FingerHigh" "29"
    Option "FingerPress" "255"
    # Tapping Detection
    Option "MaxTapTime" "180"             # 0 disables tap
    Option "MaxTapMove" "29"
    Option "MaxDoubleTapTime" "180"
    Option "SingleTapTimeout" "200"
    Option "ClickTime" "100"
    Option "TapAndDragGesture" "1"
    # Corner Tap Buttons
    Option "RTCornerButton" "0"
    Option "RBCornerButton" "0"
    Option "LTCornerButton" "0"
    Option "LBCornerButton" "0"
    # Scrolling Edges
    Option "VertEdgeScroll" "0"
    Option "VertScrollDelta" "100"
    Option "HorizEdgeScroll" "0"
    Option "HorizScrollDelta" "100"
    # Circular Scrolling
    Option "CircularScrolling" "0"
    Option "CircScrollDelta" "0.1"
    Option "CircScrollTrigger" "0"
    Option "FastTaps" "1"
    # Tapping as Buttons (number of fingers)
    Option "TapButton1" "1"
    Option "TapButton2" "2"
    Option "TapButton3" "3"
    # Tap Dragging
    Option "LockedDrags" "0"
    Option "LockedDragTimeout" "5000"
    # Tap Gesture Dragging
    # Two Finger Scrolling
    Option "VertTwoFingerScroll" "1"
    Option "HorizTwoFingerScroll" "1"
    # Corner Coasting
    Option "CornerCoasting" "0"
    Option "CoastingSpeed" "20"
    Option "CoastingFriction" "50"
    # Kernel Event Protocol
    Option "GrabEventDevice" "1"
    # Edge Ignore Boundaries
    Option "AreaLeftEdge" "0"
    Option "AreaRightEdge" "0"
    Option "AreaTopEdge" "0"
    Option "AreaBottomEdge" "0"
    # Trackstick
    Option "TrackstickSpeed" "40"
    # Circular Trackpad
    Option "CircularPad" "0"
    # Multi-function Buttons
    Option "ClickFinger1" "1"
    Option "ClickFinger2" "1"
    Option "ClickFinger3" "1"
    # Edge Movements
    Option "FastTaps" "0"
    # Tapping as Buttons (number of fingers)
    Option "TapButton1" "1"
    Option "TapButton2" "2"
    Option "TapButton3" "3"
    # Tap Dragging
    Option "LockedDrags" "0"
    Option "LockedDragTimeout" "5000"
    # Tap Gesture Dragging
    Option "EdgeMotionMinZ" "29"
    Option "EdgeMotionMaxZ" "159"
    Option "EdgeMotionMinSpeed" "1"
    Option "EdgeMotionMaxSpeed" "401"
    Option "EdgeMotionUseAlways" "0"
    # Pressure Motion
    Option "PressureMotionMinZ" "29"
    Option "PressureMotionMaxZ" "159"
    Option "PressureMotionMinFactor" "1"
    Option "PressureMotionMaxFactor" "1"
    # Emulations
    Option "EmulateMidButtonTime" "75"
    Option "EmulateTwoFingerMinZ" "280"
    Option "EmulateTwoFingerMinW" "70
    # Palm Detection
    Option "PalmDetect" "1"
    Option "PalmMinWidth" "10"
    Option "PalmMinZ" "199"
EndSection

相关内容