如何使用Apple Magic Mouse配置“自然滚动”?

Modified on: Sat, 09 Jun 2018 16:59:23 +0800

有没有人设法在Ubuntu 12.10上进行自然滚动工作?使用 make work 我的意思是找到一个适用于所有应用程序的设置而不是基于Xmodmap的东西,它似乎被认为是一个黑客而不是一个干净的解决方案,此外它不会在Nautilus上启用自然滚动。< / p>

我问的是,因为我发现使用Magic Trackpads启用它(即使用xinput调整 Synaptic Sc​​rolling Distance 设置)的解决方法不适用于Magic Mouses,因为此类设备似乎不使用突触驱动程序。你能证实吗?

以下是该命令的输出:xinput list-props 'Apple Magic Mouse'

Device 'Apple Magic Mouse':
Device Enabled (126):   1
Coordinate Transformation Matrix (128): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (247): 0
Device Accel Constant Deceleration (248):   5.000000
Device Accel Adaptive Deceleration (249):   1.000000
Device Accel Velocity Scaling (250):    5.000000
Device Product ID (243):    1452, 781
Device Node (244):  "/dev/input/event16"
Evdev Axis Inversion (251): 0, 0
Evdev Axes Swap (253):  0
Axis Labels (254):  "Rel X" (136), "Rel Y" (137), "Rel Horiz Wheel" (375), "Rel Vert Wheel" (376)
Button Labels (255):    "Button Left" (129), "Button Middle" (130), "Button Right" (131), "Button Wheel Up" (132), "Button Wheel Down" (133), "Button Horiz Wheel Left" (134), "Button Horiz Wheel Right" (135)
Evdev Middle Button Emulation (256):    0
Evdev Middle Button Timeout (257):  50
Evdev Third Button Emulation (258): 0
Evdev Third Button Emulation Timeout (259): 1000
Evdev Third Button Emulation Button (260):  3
Evdev Third Button Emulation Threshold (261):   20
Evdev Wheel Emulation (262):    0
Evdev Wheel Emulation Axes (263):   0, 0, 4, 5
Evdev Wheel Emulation Inertia (264):    10
Evdev Wheel Emulation Timeout (265):    300
Evdev Wheel Emulation Button (266): 4
Evdev Drag Lock Buttons (267):  0

最佳答案

通过执行以下操作找到魔术鼠标的设备ID:

  

xinput list

然后通过执行以下操作设置反向滚动:

  

xinput set-button-map ID 1 2 3 5 4

(将ID替换为您设备的ID)

作者:StuR

相关问答

添加新评论