鼠标控制面板窗口滑块什么也不做。由于它的 xinput 道具不同,官方线程似乎不会影响这个特定的鼠标:降低鼠标灵敏度
这是我尝试过的:
xinput set-prop 9 "libinput Accel Speed Default" 2.88
X Error of failed request: BadAccess (attempt to access private resource denied)
Major opcode of failed request: 131 (XInputExtension)
Minor opcode of failed request: 57 ()
Serial number of failed request: 20
Current serial number in output stream: 21
和:
xinput set-prop $MOUSE_ID "Device Accel Constant Deceleration" 2.88
property 'Device Accel Constant Deceleration' doesn't exist, you need to specify its type and format
以下是道具:
xinput list-props 9
Device 'Corsair Corsair M95 Gaming Mouse':
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 (287): 0.000000
libinput Accel Speed Default (288): 0.000000
libinput Accel Profiles Available (289): 1, 1
libinput Accel Profile Enabled (290): 1, 0
libinput Accel Profile Enabled Default (291): 1, 0
libinput Natural Scrolling Enabled (292): 0
libinput Natural Scrolling Enabled Default (293): 0
libinput Send Events Modes Available (272): 1, 0
libinput Send Events Mode Enabled (273): 0, 0
libinput Send Events Mode Enabled Default (274): 0, 0
libinput Left Handed Enabled (294): 0
libinput Left Handed Enabled Default (295): 0
libinput Scroll Methods Available (296): 0, 0, 1
libinput Scroll Method Enabled (297): 0, 0, 0
libinput Scroll Method Enabled Default (298): 0, 0, 0
libinput Button Scrolling Button (299): 2
libinput Button Scrolling Button Default (300): 2
libinput Middle Emulation Enabled (301): 0
libinput Middle Emulation Enabled Default (302): 0
Device Node (275): "/dev/input/event2"
Device Product ID (276): 6940, 6918
libinput Drag Lock Buttons (303): <no items>
libinput Horizontal Scroll Enabled (304): 1
jonny ~ xinput list-props 11
Device 'Corsair Corsair M95 Gaming Mouse':
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 Natural Scrolling Enabled (292): 0
libinput Natural Scrolling Enabled Default (293): 0
libinput Send Events Modes Available (272): 1, 0
libinput Send Events Mode Enabled (273): 0, 0
libinput Send Events Mode Enabled Default (274): 0, 0
Device Node (275): "/dev/input/event4"
Device Product ID (276): 6940, 6918
libinput Drag Lock Buttons (303): <no items>
libinput Horizontal Scroll Enabled (304): 1
jonny ~ xinput list-props 10
Device 'Corsair Corsair M95 Gaming Mouse':
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 Send Events Modes Available (272): 1, 0
libinput Send Events Mode Enabled (273): 0, 0
libinput Send Events Mode Enabled Default (274): 0, 0
Device Node (275): "/dev/input/event3"
Device Product ID (276): 6940, 6918
jonny ~ xinput list-props 15
Device 'Corsair Corsair M95 Gaming Mouse':
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 Natural Scrolling Enabled (292): 0
libinput Natural Scrolling Enabled Default (293): 0
libinput Send Events Modes Available (272): 1, 0
libinput Send Events Mode Enabled (273): 0, 0
libinput Send Events Mode Enabled Default (274): 0, 0
Device Node (275): "/dev/input/event4"
Device Product ID (276): 6940, 6918
xinput list-props 4
Device 'Virtual core XTEST pointer':
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
XTEST Device (271): 1
xinput list-props 2
Device 'Virtual core pointer':
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
和:
xinput 1
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Corsair Corsair M95 Gaming Mouse id=9 [slave pointer (2)]
⎜ ↳ Corsair Corsair M95 Gaming Mouse id=11 [slave pointer (2)]
⎜ ↳ Razer Razer BlackWidow Ultimate id=13 [slave pointer (2)]
⎜ ↳ Razer Razer BlackWidow Ultimate id=14 [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)]
↳ Power Button id=7 [slave keyboard (3)]
↳ UVC Camera (046d:0807) id=8 [slave keyboard (3)]
↳ Corsair Corsair M95 Gaming Mouse id=10 [slave keyboard (3)]
↳ Razer Razer BlackWidow Ultimate id=12 [slave keyboard (3)]
↳ Corsair Corsair M95 Gaming Mouse id=15 [slave keyboard (3)]
↳ Razer Razer BlackWidow Ultimate id=16 [slave keyboard (3)]
我非常接近:
在哪里
每:https ://patrickmn.com/aside/lowering-gaming-mouse-sensitivity-in-ubuntu-9-10/
对于那些没有
Device Accel Constant Deceleration
像我这样的人。的值
libinput Accel Speed
可以是负数,例如xinput --set-prop 'pointer:Logitech MX Master' 'libinput Accel Speed' -0.5
要找到您的鼠标名称:
xinput | grep pointer
,请不要忘记为其添加前缀,pointer:
因为我的鼠标也显示为键盘。