禁用X1 Carbon Gen 2 Synaptics触摸板上的右键单击选项

当我点击synaptic触摸板的右侧时,我想禁用右键单击function。 我尝试过突触工具,但它没有应用设置。

下面是一个问题,有人有类似的问题,但在那里给出的答案并没有最终解决我的问题。

  • 按下触控板右侧时如何禁用右键单击?

任何帮助将受到高度赞赏。

谢谢。

这可以使用synclient来解决:

键入synclient -l以列出您的配置。 在输出结束时,你会发现类似的东西

 RightButtonAreaLeft = 3068 RightButtonAreaRight = 0 RightButtonAreaTop = 4326 RightButtonAreaBottom = 0 

通过键入以下两个命令,必须将这些值更改为0(零):

 synclient RightButtonAreaLeft=0 

 synclient RightButtonAreaTop=0 

现在,点击触控板上的任意位置都会触发左键单击。 要右键单击,请在触控板上单击两个手指。

要使这些更改成为永久更改,请将两个命令写入shell脚本并将脚本添加到启动应用程序:

 nano ~/.synaptics-custom-settings.sh 

将此代码粘贴到shell脚本:

 #!/bin/bash synclient RightButtonAreaLeft=0 synclient RightButtonAreaTop=0 

在Unity中打开启动应用程序,并将〜/ .synaptics-custom-settings.sh添加到启动应用程序列表中。