Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
8
rated 0 times [  8] [ 0]  / answers: 1 / hits: 6344  / 3 Years ago, sun, july 4, 2021, 7:03:06

Has anyone managed to make natural scrolling work on Ubuntu 12.10? And with make work I mean to find a setup working for all the applications and not something based on Xmodmap which seems to be considered more an hack than a clean solution and in addition it doesn't enable natural scrolling on Nautilus.



I am asking that because the workaround I found to enable it with Magic Trackpads (i.e. tweak the setting Synaptic Scrolling Distance using xinput) doesn't work with Magic Mouses because such devices seem not to make use of the synaptic driver. Can you confirm that?



The following is the output of the command: 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

More From » scrolling

 Answers
7

Find the device ID of your magic mouse by doing:




xinput list




Then set the inverse scrolling by doing:




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




(replacing ID with the ID of your device)


[#33460] Monday, July 5, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ligdesig

Total Points: 164
Total Questions: 106
Total Answers: 114

Location: Japan
Member since Sat, Jun 6, 2020
4 Years ago
;