Ok got it working here.....I was being stupid and setting the left mouse button and right mouse button as forward and backwards. DUH!
Here is what I did:
- SIP is still enabled and mouse seems to be fine here so far. Did disable it and re-enabled while testing.
- Below where you see "yourusername" change it to the name of your Home Directory under /Users.
- You can name DBMicrosoftMouseHelper.sh anything you want, just make sure you point the Daemon to the correct file below.
- Same for com.ptc.DBMicrosoftMouseHelper.plist, it can be named com.whatever.plist.
First Created Script as mentioned before:
- cd /Users/yourusername/Documents
- touch DBMicrosoftMouseHelper.sh (doesn't matter what you name it just keep it the same below)
- Added following contents to file using: pico DBMicrosoftMouseHelper.sh
#!/bin/bash
Below should be on one line
nohup /Library/PreferencePanes/Microsoft\ Mouse.prefPane/Contents/Resources/MicrosoftMouseHelper.app/Contents/MacOS/MicrosoftHelper
exit
- Set Permissions on file:
chmod 755 /Users/yourusername/Documents/DBMicrosoftMouseHelper.sh
Second Created a LaunchDaemon as /Library/LaunchDaemons/com.ptc.DBMicrosoftMouseHelper.plist:
- cd /Library/LaunchDaemons/
- touch com.ptc.DBMicrosoftMouseHelper.plist
- Set the correct permissions on the file:
chown root:wheel /Library/LaunchDaemons/com.ptc.DBMicrosoftMouseHelper.plist
chmod 644 /Library/LaunchDaemons/com.ptc.DBMicrosoftMouseHelper.plist
- Add contents to file using pico com.ptc.DBMicrosoftMouseHelper.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.ptc.DBMicrosoftMouseHelper</string>
<key>ProgramArguments</key>
<array>
<string>/Users/yourusername/Documents/DBMicrosoftMouseHelper.sh</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
<key>Disabled</key>
<false/>
</dict>
</plist>
- Enable daemon with:
launchctl load com.ptc.DBMicrosoftMouseHelper.plist
- Reboot for the heck of it and it should work. In the MS PrefPane I hit the Defaults button at the bottom and setup all my buttons again, but I don't think you have to do that. I was just being stupid with what I did setting the wrong buttons.