Posted on 01-20-2017 02:13 PM
I was wondering if anybody has any suggestions to enable right click on an Apple wired mouse on 10.12.x using a script. I have tried a number of scripts that I've found online but none of them seem to work.
Posted on 01-23-2017 12:26 PM
Do you have a script you've tried/tested? If so, post it. Just as a guess, since it's a user personal preference, you're going to have write a defaults type command. Reading through com.apple.AppleMultitouchMouse.plist shows these enabled.
$ defaults read com.apple.AppleMultitouchMouse.plist
{
MouseButtonDivision = 55;
MouseButtonMode = OneButton;
MouseHorizontalScroll = 1;
MouseMomentumScroll = 1;
MouseOneFingerDoubleTapGesture = 0;
MouseTwoFingerDoubleTapGesture = 3;
MouseTwoFingerHorizSwipeGesture = 2;
MouseVerticalScroll = 1;
UserPreferences = 1;
version = 1;
}
I don't have a wired Apple mouse to at the exact moment, but can play with it some tomorrow when I have one.
Posted on 01-23-2017 03:13 PM
Thanks for that. I ended up pushing out the updated .plist to the user profiles in the lab and that worked.
Posted on 01-31-2017 10:36 AM
@ a.simmons can you help me with that?
Posted on 08-15-2017 09:51 AM
An updated script for working around the fact that config profiles don't fully/correctly apply the mouse button settings:
https://www.jamf.com/jamf-nation/discussions/25059/managing-mouse-button-behavior-in-modern-macos