5

I have a new Ubuntu-Mate and I'm taking advantage of the Apple Magic mouse and keyboard.

The Magic mouse, in the OSX has a smooth scroll... like a roll, there is a scrolling control depending on the strength of the finger movement.

I would like to have this behaivour in Ubuntu, but I can't get information about this ( I've found information about change direction but not about "rolling movement")

The aplication "naturalscrolling" seems than doesn't exist anymore.

How can I achieve this?

Thanks

2

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).

2
  • Thanks for your response, at the end I left use MagicMouse because it disconnects each 2,5 minutes, and this problem is bigger than the "smooth scrolling" – Albert Català Sep 25 '16 at 18:41
  • Don't you anything know about this disconnecting issue? Thanks – Albert Català Sep 25 '16 at 18:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.