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

我想弄清楚如何在Ubuntu中禁用我的触控板的右侧。 默认行为是右侧单击右键。 但是,我想在单击键盘上的任意位置单击一次,而按两个手指按下则表示右键单击。

我也有一个索尼Vaio T系列SVT13122CXS,我正在运行12.10。

谢谢你的帮助。

这样做对我来说: http : //kernpanik.com/geekstuff/2015/01/12/disable-rightclick-synaptics.html

对我来说,这禁用右侧点击区域而不禁用两个手指“右键单击”。

基本上,运行这个:

synclient RightButtonAreaLeft=0 synclient RightButtonAreaTop=0 

要保持不变,请将执行此操作的脚本添加到“启动应用程序”中。

这就是我所做的:(13是我的synaptics设备所在的位置) – 我设置了左,中,右,左键单击,但没有禁用滚动。

xinput set-button-map 13 1 1 1 4 5 6 7 8 9

首先运行命令

 xinput 

您将获得看起来像的输出

 ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ Multi-Input Device id=13 [slave pointer (2)] ⎜ ↳ SynPS/2 Synaptics TouchPad id=16 [slave pointer (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] .... 

触摸板是ID为16的设备。检查shell的正确ID。

然后,运行该命令

  xinput set-button-map 16 1 2 3 0 0 6 7 8 9 

哪里

  16 is in my case the ID for the touchpad 1 is the left click 2 is the middle click 3 is the right click 0 we disable the scroll up (otherwise it would be 4) 0 we disable the scroll down (otherwise it would be 5) 6 ... we leave the rest as they are so we do not disable something important 

现在触摸板的右侧被禁用,并且不响应滚动。

我在Thinkpad上找到了同样问题的解决方案。 我相信它也适用于配备Synaptics触控板的其他机器:

https://askubuntu.com/a/572813/366397