Bru*_*tus 10 mouse unity 11.10 trackpad
我刚刚更新到 Ubuntu 11.10,我正在使用 Unity。自更新以来,我无法再将“中间点击”与触控板一起使用。Firefox 中的标签浏览已经成为一种痛苦:(
我过去常常交换“三指敲击”中键和“两指敲击”右键单击,因为我几乎从不使用右键单击。我猜这是通过鼠标配置完成的,但我现在找不到了。
我在哪里可以设置这个?
更糟糕的是,三指点击什么都不做,因此自更新以来根本不可能进行中间点击。
我怎样才能解决这个问题?
我知道我可以删除安装(我有一个单独的主分区)并安装一个旧版本,但如果可能的话,我想使用实际的软件和最近的 Unity。
leoperbo 的答案在 Ubuntu 12.04 上对我有用,但我不得不在 leoperbo 的建议命令中更改266数字。你不应该在没有仔细找到 3 位数字的情况下使用这个命令
Run Code Online (Sandbox Code Playgroud)xinput set-int-prop NN 266 8 2 3 0 0 1 2 3另一个命令应该可以正常工作(设置的数字没有意义,因此我更改了它们)
Run Code Online (Sandbox Code Playgroud)xinput set-prop "ETPS/2 Elantech Touchpad" "Synaptics Tap Action" 2, 3, 0, 0, 1, 2, 3以防万一我写了以下指南来为您的触摸板找到您的 NN 和 266。最后,我还会解释您设置的值,以便您可以选择最佳设置。您也应该阅读 leoperbo 的永久设置答案
1st在终端中使用以下命令
xinput list
Run Code Online (Sandbox Code Playgroud)
你会得到这样的东西
? Virtual core pointer id=2 [master pointer (3)]
? ? Virtual core XTEST pointer id=4 [slave pointer (2)]
? ? ETPS/2 Elantech Touchpad id=13 [slave pointer (2)]
? Virtual core keyboard id=3 [master keyboard (2)]
? Virtual core XTEST keyboard id=5 [slave keyboard (3)]
? Power Button id=6 [slave keyboard (3)]
? Video Bus id=7 [slave keyboard (3)]
? Power Button id=8 [slave keyboard (3)]
? Sleep Button id=9 [slave keyboard (3)]
? 1.3M WebCam id=10 [slave keyboard (3)]
? AT Translated Set 2 keyboard id=11 [slave keyboard (3)]
? Acer WMI hotkeys id=12 [slave keyboard (3)]
Run Code Online (Sandbox Code Playgroud)
我们需要的是触摸板的 id(在我的例子中是 13)
2nd 在终端中使用以下命令将 XX 替换为您在上面找到的 ID 号
xinput list-props XX
Run Code Online (Sandbox Code Playgroud)
你会得到这样的东西
Device 'ETPS/2 Elantech Touchpad':
Device Enabled (144): 1
Coordinate Transformation Matrix (146): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (269): 1
Device Accel Constant Deceleration (270): 2.500000
Device Accel Adaptive Deceleration (271): 1.000000
Device Accel Velocity Scaling (272): 12.500000
Synaptics Edges (273): 56, 1352, 34, 606
Synaptics Finger (274): 1, 1, 256
Synaptics Tap Time (275): 180
Synaptics Tap Move (276): 68
Synaptics Tap Durations (277): 180, 180, 100
Synaptics ClickPad (278): 0
Synaptics Tap FastTap (279): 1
Synaptics Middle Button Timeout (280): 75
Synaptics Two-Finger Pressure (281): 282
Synaptics Two-Finger Width (282): 7
Synaptics Scrolling Distance (283): 30, 30
Synaptics Edge Scrolling (284): 0, 0, 0
Synaptics Two-Finger Scrolling (285): 1, 0
Synaptics Move Speed (286): 1.000000, 1.750000, 0.129366, 40.000000
Synaptics Edge Motion Pressure (287): 30, 160
Synaptics Edge Motion Speed (288): 1, 123
Synaptics Edge Motion Always (289): 0
Synaptics Off (290): 2
Synaptics Locked Drags (291): 0
Synaptics Locked Drags Timeout (292): 5000
Synaptics Tap Action (293): 2, 3, 0, 0, 1, 3, 0
Synaptics Click Action (294): 1, 1, 0
Synaptics Circular Scrolling (295): 0
Synaptics Circular Scrolling Distance (296): 0.100000
Synaptics Circular Scrolling Trigger (297): 0
Synaptics Circular Pad (298): 0
Synaptics Palm Detection (299): 0
Synaptics Palm Dimensions (300): 10, 200
Synaptics Coasting Speed (301): 20.000000, 50.000000
Synaptics Pressure Motion (302): ... of unknown type CARDINAL
Synaptics Pressure Motion Factor (303): 1.000000, 1.000000
Synaptics Resolution Detect (304): 1
Synaptics Grab Event Device (305): 1
Synaptics Gestures (306): 1
Synaptics Capabilities (307): 1, 0, 1, 1, 1, 1, 1
Synaptics Pad Resolution (308): 1, 1
Synaptics Area (309): 0, 0, 0, 0
Synaptics Noise Cancellation (310): 7, 7
Device Product ID (263): 2, 14
Device Node (264): "/dev/input/event11"
Run Code Online (Sandbox Code Playgroud)
我们需要在上面找到这一行
Synaptics Tap Action (293): 2, 3, 0, 0, 1, 3, 0
Run Code Online (Sandbox Code Playgroud)
并记下 ( ) 中的数字,在我的例子中是 293
终端上的第 3 个也是最后一个命令(将 XX 替换为 id 并将 YYY 替换为 ( ) 中的数字,对于我的笔记本电脑是 XX=13 和 YYY=293 )
xinput set-int-prop XX YYY 8 2 3 0 0 1 2 3
Run Code Online (Sandbox Code Playgroud)
值 2 3 0 0 1 2 3 是以下正确顺序的设置 0=禁用 1=左键单击 2=中间 3=右
Option "RTCornerButton"
Which mouse button is reported on a right top corner tap.
Option "RBCornerButton"
Which mouse button is reported on a right bottom corner tap.
Option "LTCornerButton"
Which mouse button is reported on a left top corner tap.
Option "LBCornerButton"
Which mouse button is reported on a left bottom corner tap.
Option "TapButton1"
Which mouse button is reported on a non-corner one-finger tap.
Option "TapButton2"
Which mouse button is reported on a non-corner two-finger tap.
Option "TapButton3"
Which mouse button is reported on a non-corner three-finger tap.
Run Code Online (Sandbox Code Playgroud)
小智 4
要修复中键单击,您可以使用以下命令:
xinput set-int-prop NN 266 8 2 3 0 0 1 2 3
其中NN是鼠标垫设备的id,可以使用命令xinput list查看。266 是属性“Synaptics Tap Action”的 id,您可以使用 xinput list-props NN 查看它。例子:
xinput set-prop "ETPS/2 Elantech Touchpad" "Synaptics Tap Action" 8, 9, 0, 0, 1, 2, 3
Run Code Online (Sandbox Code Playgroud)
您必须在每次恢复后运行该命令。要在恢复后保留突触配置,您可以按照以下步骤操作(来自 wiki.archlinux.org):
Gnome 设置守护进程可能会覆盖任何图形配置实用程序中没有等效项的现有设置(例如在 xorg.conf.d 中设置的设置)。完全可以阻止 gnome 触摸鼠标设置:
Run Code Online (Sandbox Code Playgroud)1. Run dconf-editor 2. Edit /org/gnome/settings-daemon/plugins/mouse/ 3. Uncheck the active setting It will now respect your system's existing synaptics configuration.
它在 Ubuntu 11.10 上对我有用,现在我有:
Two-finger scrolling.
Middle Click with two fingers tap.
Right Click (tap at bottom right of scroll area).
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
7581 次 |
| 最近记录: |