右键单击Synaptic Touchpad无法在Ubuntu 14.10上运行
我已经成功地在我的Aspire E3 112上安装了Ubuntu,经过一段时间在BIOS中设置系统密码并信任Grub2 EFI设置后,我有一个稳定的系统可以通过Bing引导到Ubuntu和Windows 8.1。
但
右键单击在Synaptic触摸板上不起作用。
无论我在哪里点击触控板,它都会被识别为左键单击。 Grrrrrr
我已经尝试安装GPointing Device Setting但没有任何配置设置进行右键单击。
我听说Synaptics有一个产品(Synaptics Gesture Suite for Linux – SGS-L),但它只适用于OEM供应商。
有没有人遇到过这个?
有没有人有任何值得尝试的建议或某个地方我可以找到一个有用的驱动程序/应用程序?
我已经运行了xinput并为核心指针打印了以下内容:
虚核心指针= 2 [主指针(3)]
虚拟核心XTEST指针id = 4 [从指针(2)]
SYN1B7D:01 06CB:2991 UNKNOWN id = 11 [从指针(2)]
只需添加:
Option "ClickPad" "true" Option "EmulateMidButtonTime" "0"
在/usr/share/X11/xorg.conf.d/50-synaptics.conf
像这样的东西:
Section "InputClass" Identifier "Default clickpad buttons" MatchDriver "synaptics" Option "ClickPad" "true" Option "EmulateMidButtonTime" "0" Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0" Option "SecondarySoftButtonAreas" "58% 0 0 15% 42% 58% 0 15%" EndSection
宏碁社区论坛上一位非常善良的人为我提供了ArchLinux和Synaptics触摸板的文档,这些文档已经certificate非常有教育意义(总是很好)。
https://wiki.archlinux.org/index.php/Touchpad_Synaptics#Buttonless_TouchPads_.28aka_ClickPads.29
xinput list-props "SYN1B7D:01 06CB:2991 UNKNOWN" | grep Capabilities
给我以下内容:Synaptics Capabilities(295):1,0,0,1,1,0,0
通过第3位数字0表示我没有物理右键。
有很多选项使用xorg来重新映射文档中的鼠标按钮看起来并不太难但我想我会用双指点击一下去看看我是如何进行的。
这是Ubuntu 14.10中对我有用的东西
-
按Ctrl + Alt + T打开终端并使用以下命令:
sudo nautilus
这将打开一个具有sudo权限的窗口,允许您更改和保存根文件。
-
找到并打开文件:
/usr/share/X11/xorg.conf.d/50-synaptics.conf
-
找到段落:
# This option enables the bottom right corner to be a right button on clickpads # and the right and middle top areas to be right / middle buttons on clickpads # with a top button area. # This option is only interpreted by clickpads. Section "InputClass" Identifier "Default clickpad buttons" MatchDriver "synaptics" Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0" Option "SecondarySoftButtonAreas" "58% 0 0 15% 42% 58% 0 15%" EndSection
-
在选项“SoftButtonAreas”“50%0 82%0 0 0 0 0”之前添加两个额外的行:
Option "ClickPad" "true" Option "EmulateMidButtonTime" "0"
(第一个启用右键单击,第二个中键单击)
- 现在保存更改并注销/登录。右键单击应立即生效!