模拟Lenovo Yoga 2 Pro Synaptics触摸板的中键点击
我正在编写指南如何在Lenovo Yoga 2 Pro上安装Ubuntu
要获得一个中间的鼠标按钮,我尝试了这个:
我编辑了文件/usr/share/X11/xorg.conf.d/50-synaptics.conf
。 在那里我编辑了“触摸板捕获”部分,所以它看起来像这样:
Section "InputClass" Identifier "touchpad catchall" Driver "synaptics" MatchIsTouchpad "on" # This option is recommend on all Linux systems using evdev, but cannot be # enabled by default. See the following link for details: # http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html MatchDevicePath "/dev/input/event*" Option "FingerLow" "46" Option "FingerHigh" "46" Option "ClickFinger1" "1" Option "ClickFinger2" "2" Option "ClickFinger3" "3" Option "TapButton1" "1" Option "TapButton2" "2" Option "TapButton3" "3" Option "AreaBottomEdge" "85%" Option "SoftButtonAreas" "60% 0 85% 0 40% 60% 85% 0" # Btn2 LRTB - Btn3 LRTB Option "EmulateMidButtonTime" "75" EndSection
(来源: http : //memobadz.wordpress.com/2014/02/16/lenovo-yoga-pro-2-on-ubuntu/ )
但这并没有启用memobadz’wordpress Blog中提到的模拟中间点击 (虽然它在其他方面仍然有很大帮助)。
如何通过点击三个手指来模拟鼠标中键?
到目前为止,我无法用这种帮助来管理它。
以下是我在/usr/share/X11/xorg.conf.d/50-synaptics.conf
文件中的内容,并按预期工作。
Section "InputClass" Identifier "touchpad catchall" Driver "synaptics" MatchIsTouchpad "on" MatchDevicePath "/dev/input/event*" Option "TapButton2" "3" Option "TapButton3" "2" EndSection
或者,您可以按照中所述创建脚本
在桌面启动20秒后执行命令
或在$HOME/.xprofile
包含以下命令
sleep 20 synclient TapButton2=3 synclient TapButton3=2
您不必在Ubuntu中点击触控板上的任何内容 – 您可以从2012年的每个答案点击右上角(现在在Ubuntu衍生Linux Mint 18中仍然如此): https:// askubuntu的.com /一个/ 141460
- 我在联想T540p上从17.04升级到17.10,它打破了双指触摸板滚动和右键单击
- 电池管理无法识别电源的移除
- 在Ubuntu Studio中使用gnome-shell(或者在vanilla Ubuntu中使用Ubuntu Studiofunction)
- 从睡眠模式唤醒Lenovo B570时,为什么我的屏幕没有恢复到全亮度?
- Nvidia gtx 755与大黄蜂 – 无法在PCI上初始化NVIDIA GPU:1:0:0 – 联想Y410P
- 在lenovo ideapad y480上启用蓝牙
- 联想y510p带HDMI监视器(已解决)
- Ubuntu 14.04 – 联想超极本触控板拖动无法正常工作
- 如何仅通过电源按钮唤醒我的笔记本电脑?