Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

How to set the scroll speed of apple magic mouse?

I only found the moving speed.

share|improve this question
    
Currently there is no way to do it GUI-way system wide. See this for some workarounds: askubuntu.com/questions/27270 In web browsers, it can be set separately (Firefox, Chromium/Chrome). –  pileofrocks Feb 28 '13 at 0:15

2 Answers 2

At the moment only way is setup it directly in hid_magicmouse driver.

For testing run:

sudo rmmod hid_magicmouse
# scroll-speed value from 0 (slow) to 63 (fast):
sudo modprobe hid_magicmouse scroll-speed=45 scroll-acceleration=1 

For permanent settings put to the /etc/modprobe.d/magicmouse.conf this:

options hid_magicmouse scroll-speed=45 scroll-acceleration=1
share|improve this answer
    
any other elegant way to change it instead of using command? –  王子1986 Mar 25 '13 at 6:44

You can also write to the parameters via the /sys kernel interface:

$ ls /sys/module/hid_magicmouse/parameters/
emulate_3button  emulate_scroll_wheel  report_undeciphered  scroll_acceleration  scroll_speed
$ cat /sys/module/hid_magicmouse/parameters/scroll_speed
45
$ echo N | sudo tee /sys/module/hid_magicmouse/parameters/scroll_acceleration 
N

You can ogle the source here: http://lxr.free-electrons.com/source/drivers/hid/hid-magicmouse.c

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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