Chrome双指滚动然后右键单击

我的Chrome浏览器出现问题。 每当我用两根手指滚动一小段时间(〜<1秒,我认为,很难及时),然后我会看到右键菜单。 如果我将手指放在触摸板上的时间更长,即使我不滚动,也不会出现右键单击。

你可以想象这是非常令人沮丧的,因为1s在滚动时间方面令人惊讶地长,并且发现自己正确地点击每个滚动令人难以置信的烦人。

系统细节:

  • 戴尔XPS13 2015
  • Ubuntu Gnome 15.04
  • 3.19.0-25generics
  • Chrome版本45.0.2454.15 beta(64位)

我也只在Chrome中遇到同样的问题。
您可以使用50-synaptics.conf配置文件来解决此问题:

 wget http://hgdev.co/wp-content/uploads/50-synaptics.conf sudo mkdir /etc/X11/xorg.conf.d sudo cp 50-synaptics.conf /etc/X11/xorg.conf.d/ 

您也可以手动编辑此配置文件以更好地满足您的偏好。 Synatics触控板上的Arch Wiki页面对此有所帮助。

您可以按照以下步骤解决双指滚动问题:

  • 打开终端(shell)窗口。

  • 运行以下命令以成为root(超级用户)。 成为root是很重要的,因为下面的所有 shell命令都必须由超级用户执行(显然除了第一个之外):

     sudo su 
  • 运行以下命令以下载标准Linux触摸板配置文件50-synaptics.conf

     wget http://hgdev.co/wp-content/uploads/50-synaptics.conf 
  • 运行以下命令以在/ etc / X11 /中创建文件夹xorg.conf.d

     mkdir /etc/X11/xorg.conf.d 
  • 现在运行以下命令,以便将配置文件50-synaptics.conf移动到/etc/X11/xorg.conf.d/中

     mv 50-synaptics.conf /etc/X11/xorg.conf.d/ 
  • 重启你的电脑。

如果您在Chrome / Chromium浏览器(或任何其他WebKit / Blink引擎浏览器或其他任何位置)中滚动然后无法正确点击时仍遇到任何问题,请激活滑行 。 启用惯性滑行后,从触控板释放两根手指后,滚动会持续一段时间。 滑行function会使Synaptics输入驱动程序暂停一段时间(不可用),因此在释放触控板后,它将无法立即尝试任何未经请求的右键单击。

  • 为了激活滑行,首先你必须打开一个shell终端窗口,成为root,然后运行下面的命令,打开配置文件50-synaptics.conf进行编辑(不要忘记你总是必须是root为了正确执行任何这些命令):

     gedit /etc/X11/xorg.conf.d/50-synaptics.conf 
    • 如果您没有Gedit,可以使用以下命令安装它:

       apt-get install gedit 
  • 或者,如果您没有Gedit但是有Mousepad,只需运行以下命令:

     mousepad /etc/X11/xorg.conf.d/50-synaptics.conf 
    • Mousepad是一个很好的Gedit替代品。 如果您没有,我建议使用此命令安装它:

       apt-get install mousepad 
  • 通过将“CoastingSpeed”参数设置为非零数字来启用惯性停车。 “CoastingSpeed”设置您必须执行的每秒最小滚动才能开始滑行。 默认值为20,这可以防止您无意中开始滑行。 数字越大,开始滑行变得越困难。 0禁用惯性滑行。 以下是添加到50-synaptics.conf文件的推荐配置(右下方选项“EmulateTwoFingerMinW”“8” ,请删除#Option“CoastingSpeed”“0” ,然后将下面的文本粘贴到其位置):

     # Starts coasting when the user performs 20 scrolls per second (or more): Option "CoastingSpeed" "20" # Disables corner coasting, thus making coasting available on the entire area of the clickpad (instead of only on the right corner). Option "CornerCoasting" "0" 
  • 此外,添加“CoastingFriction”选项。 它设置要应用的滚动/秒2的数量,以便在停止之前降低滑行速度。 默认值为50.数字越大,滑行事件停止的速度越快:

     # "CoastingFriction" sets the number of scrolls/second² at which the coasting speed decreases (deceleration) until coasting stops. Default value is 50. The bigger the number, the faster the coasting event will stop. Option "CoastingFriction" "50" 
  • 现在保存文件并退出Gedit / Mousepad。

  • 重启你的电脑。 现在一切都会奏效。


如果您有传统的触摸板,上述解决方案就足够了。 但是,如果您有一个触控板(无按钮触摸板),您可能会遇到第二个问题:双指滚动问题已解决,但现在按钮右键单击按钮仿真可能已停止工作。 在这种情况下,您仍然可以使用双指点击(它的行为类似于右键),但就是这样,按下点按键的右下角不再右击。

  • 为了解决第二个问题,请返回shell终端窗口,再次成为root用户并使用Gedit / Mousepad再次打开配置文件50-synaptics.conf进行编辑,然后转到它所读取的部分:

     Identifier "Ignore clickpad buttons" MatchDriver "synaptics" Option "SoftButtonAreas" "0 0 0 0 0 0 0 0" 

    …并修改文本,使其成为:

     Identifier "Enable clickpad buttons" MatchDriver "synaptics" Option "SoftButtonAreas" "60% 0 82% 0 40% 59% 82% 0" 
  • 现在保存文件并退出Gedit / Mousepad。

  • 重启你的电脑。 现在一切都会奏效。

  • 如果您仍然遇到右键,中键和/或左键的任何问题,请再次打开shell终端窗口,再次成为root /超级用户,然后打开50-synaptics.conf进行编辑,并确保以下选项存在于该文件及其配置如下所示:

     # Interprets 1-finger click/tap as "left button click", 2-fingers click/tap as "right button click" and 3-fingers click/tap as "middle button click": Option "TapButton1" "1" Option "TapButton2" "3" Option "TapButton3" "2" Option "ClickFinger1" "1" Option "ClickFinger2" "3" Option "ClickFinger3" "2" # Enables "right button click" in the right botton of the touchpad/clickpad: Option "RBCornerButton" "3" 
  • 现在保存文件并退出Gedit / Mousepad。

  • 重启你的电脑。 现在一切都会奏效。

我没有足够的评论来评论:(长时间潜伏,在这里,但我开始遇到这个问题。它只发生在Chrome中(但奇怪的是,不在Chromium中)。

编辑 :我正在运行与您相同的系统(XPS 13 2015),并且能够解决此问题,但只能禁用触摸屏。 您可以通过检查xinput并执行xinput disable 10 (或者您为ELAN Touchscreen获得的任何id )来访问它。