我想弄清楚如何在 Ubuntu 中禁用触控板的右侧。默认行为是右手边右击。但是,我希望在打击垫上的任意位置单击以充当单击,而用两根手指按下则表现为右键单击。
我还有一个 sony vaio T 系列 SVT13122CXS 并且正在运行 12.10。
谢谢你的帮助。
wor*_*shi 13
这为我做到了:http : //kernpanik.com/geekstuff/2015/01/12/disable-rightclick-synaptics.html
对我来说,这禁用了右手边的单击区域,而不会禁用两个手指的“右键单击”。
本质上,运行这个:
synclient RightButtonAreaLeft=0
synclient RightButtonAreaTop=0
Run Code Online (Sandbox Code Playgroud)
要持久化,请将执行此操作的脚本添加到“启动应用程序”中。
首先运行命令
\n\nxinput\n
Run Code Online (Sandbox Code Playgroud)\n\n你会得到看起来像这样的输出
\n\n\xe2\x8e\xa1 Virtual core pointer id=2 [master pointer (3)]\n\xe2\x8e\x9c \xe2\x86\xb3 Virtual core XTEST pointer id=4 [slave pointer (2)]\n\xe2\x8e\x9c \xe2\x86\xb3 Multi-Input Device id=13 [slave pointer (2)]\n\xe2\x8e\x9c \xe2\x86\xb3 SynPS/2 Synaptics TouchPad id=16 [slave pointer (2)]\n\xe2\x8e\xa3 Virtual core keyboard id=3 [master keyboard (2)]\n \xe2\x86\xb3 Virtual core XTEST keyboard id=5 [slave keyboard (3)]\n....\n
Run Code Online (Sandbox Code Playgroud)\n\n触摸板是 ID 为 16 的设备。检查您的机箱的正确 ID。
\n\n然后,运行命令
\n\n xinput set-button-map 16 1 2 3 0 0 6 7 8 9\n
Run Code Online (Sandbox Code Playgroud)\n\n在哪里
\n\n 16 is in my case the ID for the touchpad\n 1 is the left click\n 2 is the middle click\n 3 is the right click\n 0 we disable the scroll up (otherwise it would be 4)\n 0 we disable the scroll down (otherwise it would be 5)\n 6 ... we leave the rest as they are so we do not disable something important\n
Run Code Online (Sandbox Code Playgroud)\n\n现在触摸板的右侧被禁用并且不响应滚动。
\n 归档时间: |
|
查看次数: |
6929 次 |
最近记录: |