Correct magic mouse scrolling on Linux
By mat on Saturday 16 October 2010, 16:04 - Permalink
If you're like me you have a magic mouse and you use it under Linux you might have noticed that the scrolling is desperately slow.
A couple of modification made by guys of Ubuntu in May/June should have an impact on it.
Namely this two parameters:
- scroll-speed
- scroll-acceleration
By default scroll-speed has a value of 32 in a range of 0-63 which is definitely not enough, I found that 45 is ok if used with scroll-acceleration otherwise you have to use more than 50. The parameter scroll-acceleration is not very clear, my understanding is that if you make a small scroll move the scrolling will be small but if you make a a bigger one the scrolling effect will be greatly amplified (it's particularly true if you start or stop from the very top of the mouse).
To test your parameter in order to get the value that suits your need do the following:
rmmod hid_magicmouse;modprobe hid_magicmouse scroll-speed=45
scroll-acceleration=1
Try different value for scroll-speed in order to get the best value that suits your need.
Once it's ok, create a file in /etc/modprobe.d called magicmouse.conf with the following content:
options hid_magicmouse scroll-speed=45
scroll-acceleration=1
Of course change 45 for the value you estimated before.
Enjoy !
Comments
I was already searching a longer time for a way to configure the scrolling. Thanks!!!
BTW, together with smooth scrolling (e. g. in firefox about:config -> set general.smoothScroll to true) really nice.
"rmmod" seems to always give "unable to remove" responses. (my quote isn't exact, it's just the meaning that matters)
however, by using GUI (ubuntu top status bar, if that's what it's called) to disconnect my magicmouse and re-connect it after i run the "modprobe" command, the changes does take effect.
thanks for sharing!! :)
I was excited to discover this website. I wanted to thank you for
your time for this fantastic read!! I definitely enjoyed
every little bit of it and I have you book marked to see new information on your web site.
Thank you for the good writeup. It in fact was a amusement
account it. Look advanced to more added agreeable from you!
However, how could we communicate?
Have you ever thought about publishing an ebook
or guest authoring on other sites? I have a blog based on the same topics you discuss and
would really like to have you share some stories/information.
I know my audience would appreciate your work. If you're even remotely interested, feel free to send me an e-mail.