A macOS-package to automatically enable right-click on the Apple Magic Mouse.
Users usually enable right-click on Mac via "System Settings" > "Mouse" > "Secondary click". Administrators who want to automatically enable the right-click on multiple Macs encounter a problem: This mouse setting cannot be controlled by a configuration profile on recent versions of macOS.
However, running these commands followed by a restart works:
defaults write com.apple.driver.AppleBluetoothMultitouch.mouse MouseButtonMode TwoButton
defaults write com.apple.AppleMultitouchMouse MouseButtonMode TwoButton
This payload-free package executes those commands in the context of the currently logged-in user in order to automatically enable right-click.
- Make sure the user is logged-in
- Download and install latest release of this package
- Restart Mac