HowTo Enable Scrolling With An Apple Magic Mouse
From MediaWiki
Jump to navigationJump to search
Overview
An Apple Magic mouse by default does not have its scrolling enable. One must add Kernel parameters to enable scrolling.
Solution
Add the following parameters to the "/etc/nst/grub2/nst_grub2_defaults" file: "hid_magicmouse.emulate_3button=0 hid_magicmouse.scroll_acceleration=1 hid_magicmouse.scroll_speed=40".
Section: NST Desktop (Graphical) Boot
# # NST Desktop (Graphical) Boot # --- ------- ----------- ---- NST_SERIAL[idx]="false"; NST_SERIAL_DEV[idx]="ttyS0"; NST_SERIAL_BAUD[idx]="115200"; NST_TITLE[idx]="Graphical Desktop"; NST_GRUB_CMDLINE_LINUX[idx]="audit=0 systemd.unit=graphical.target hid_magicmouse.emulate_3button=0 hid_magicmouse.scroll_acceleration=1 hid_magicmouse.scroll_speed=40"; NST_GRUB_SAVEDEFAULT[idx]="true"; NST_GRAPHICAL_BOOT[idx]="true"; idx=idx+1;
Then rebuild the grub2 configuration file:
[root@nst42-mbp grub2]# nstboot -v --grub2;