MX Master鼠标在Ubuntu中过于敏感


1

我有一台Logitech MX Master鼠标(蓝牙)和Ubuntu 17.04。

Windows的鼠标很好,但我发现它在Ubuntu中太疯狂了,并且可以通过文本和链接点击到正确的位置。

我尝试在鼠标和触控板控制面板中更改指针速度,但没有任何区别。

我为输入设备尝试了'xinput list-props'并获得了一个列表,但似乎没有任何用处。

有什么方法可以微调鼠标吗?

Device 'MX Master':
    Device Enabled (153):   1
    Coordinate Transformation Matrix (155): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    libinput Accel Speed (570): 0.000000
    libinput Accel Speed Default (571): 0.000000
    libinput Accel Profiles Available (572):    1, 1
    libinput Accel Profile Enabled (573):   1, 0
    libinput Accel Profile Enabled Default (574):   1, 0
    libinput Natural Scrolling Enabled (575):   0
    libinput Natural Scrolling Enabled Default (576):   0
    libinput Send Events Modes Available (274): 1, 0
    libinput Send Events Mode Enabled (275):    0, 0
    libinput Send Events Mode Enabled Default (276):    0, 0
    libinput Left Handed Enabled (577): 0
    libinput Left Handed Enabled Default (578): 0
    libinput Scroll Methods Available (579):    0, 0, 1
    libinput Scroll Method Enabled (580):   0, 0, 0
    libinput Scroll Method Enabled Default (581):   0, 0, 0
    libinput Button Scrolling Button (582): 2
    libinput Button Scrolling Button Default (583): 2
    libinput Middle Emulation Enabled (584):    0
    libinput Middle Emulation Enabled Default (585):    0
    Device Node (277):  "/dev/input/event17"
    Device Product ID (278):    1133, 45079
    libinput Drag Lock Buttons (586):   <no items>
    libinput Horizontal Scroll Enabled (587):   1

Answers:


1

您可以通过更改libinput Accel Speed属性值来调整光标灵敏度,因为它接受-1to 1(包括小数位)之间的值。

找到你的鼠标的ID(我相信你已经在跑步时xinput list-props使用)xinput --list --short,你会看到类似于以下的输出;

⎡ Virtual core pointer                      id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad                id=16   [slave  pointer  (2)]
⎜   ↳ Logitech MX Master                        id=12   [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)]
    ↳ Video Bus                                 id=8    [slave  keyboard (3)]
    ↳ Power Button                              id=9    [slave  keyboard (3)]
    ↳ HP Wide Vision HD                         id=13   [slave  keyboard (3)]
    ↳ Yubico Yubikey 4 OTP+U2F+CCID             id=14   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=15   [slave  keyboard (3)]
    ↳ HP Wireless hotkeys                       id=17   [slave  keyboard (3)]
    ↳ HP WMI hotkeys                            id=18   [slave  keyboard (3)]
    ↳ Dell KB216 Wired Keyboard                 id=10   [slave  keyboard (3)]
    ↳ Dell KB216 Wired Keyboard                 id=11   [slave  keyboard (3)]
    ↳ Logitech MX Master                        id=19   [slave  keyboard (3)]

就我而言,MX Master鼠标的ID是12。获得ID后,运行以下命令。

xinput --set-prop 12 "libinput Accel Speed" -0.6

替换12为您之前找到的鼠标ID,并更改-0.6为您喜欢的任何值。

请记住,重新启动和登录时不会保留这些更改,您需要创建类似于下面的shell脚本;

#!/bin/bash
xinput --set-prop 12 "libinput Accel Speed" -0.6

并将其保存到您的Home文件夹中fixmouse.sh,然后在主文件夹中打开终端并运行chmod +x fixmouse.sh

现在gnome-session-properties在终端中运行以打开启动应用程序GUI,并将刚刚创建的脚本添加到列表中。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.