I have figured out how to use Terminal to change my Apple Magic Mouse settings to be how I like them. I am using the following lines of code.
remove mouse module settings
$ sudo rmmod hid_magicmouse
add faster scrolling settings
e$ sudo modprobe hid_magicmouse emulate_3button=0 scroll_acceleration=1 scroll_speed=55
reverse scroll direction
xinput set-button-map 14 1 2 3 5 4
When I restart the computer, all these setting are lost and I have to re-input them into terminal.
How do I create a script, and where do I save it so that it will run every time I boot the computer.
I am a complete novice in Ubuntu so I don't even know what file extension to use. Thanks in advance for your help.
/etc/modprobe.d/hid_magicmouse.conf
file as described here How to set the scroll speed of apple magic mouse?, and then run yourxinput
command via Startup Applications as described here – steeldriver Mar 20 '17 at 11:38