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

lan*_*tte 6 magic-mouse scrolling

有没有人设法在 Ubuntu 12.10 上实现自然滚动?使用make work我的意思是找到一个适用于所有应用程序的设置,而不是基于Xmodmap它似乎被认为更像是一个黑客而不是一个干净的解决方案的设置,此外它不能在 Nautilus 上实现自然滚动

我问那是因为我的解决方法发现,使之神奇轨迹板(即TWEAK设置突触的滚动距离使用xinput)不工作,魔术滑鼠,因为这样的设备似乎并没有利用突触驱动程序。你能确认吗?

以下是命令的输出: 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
Run Code Online (Sandbox Code Playgroud)

小智 8

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

输入列表

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

xinput 设置按钮映射 ID 1 2 3 5 4

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

  • 这有效,但在重新启动后无法生存。 (3认同)