How to get smooth scrolling movement with magic mouse
Solution 1:
While I have not played around with Ubuntu-Mate, I assume that it has similar install options available as regular Ubuntu.
The current hid_magicmouse module included in the Kernel for Ubuntu 16.0.4 has crappy initial settings and does not have the inertia capability similar to MacOS (ie the screen keeps scrolling after you let go); however, it does have the option of changing the settings to customize and improve the scrolling experience.
Here is a brief description of each of the settings:
- emulate_3button = enables the third button when your finger presses the middle. I find this finicky, so I disable it. In MacOS only the left/right buttons are used. (boolean)
- emulate_scroll_wheel = the module interprets horizontal and vertical swipes as wheel ticks. The vertical function works fine by emulating both press and release for each tick, but the horizontal one only emulates presses and not releases which causes problems in the back and forth swipes in Chrome, so I disable it in the driver (see more in the driver section). (boolean)
- report_undeciphered = no need to turn it on. (boolean)
- scroll_acceleration = the faster you move your finger, the more ticks per distance it generates. (boolean)
- scroll_speed = this tells it how many ticks to generate when you swipe your finger a given distance; I like it to be sensitive, so I set it to 55. (0 - 63)
To update the settings, the easiest way is to unload the module and reload it with the new settings. You can do this at the terminal prompt as follows:
$ sudo rmmod hid_magicmouse
$ sudo modprobe hid_magicmouse emulate_3button=0 scroll_acceleration=1 scroll_speed=55
Refer to this blog for additional details and how to make the settings permanent and how to change the driver to implement Natural scrolling (This blog is where the information above came from).