Skip to content

Instantly share code, notes, and snippets.

@pythoninthegrass
Created October 12, 2025 02:21
Show Gist options
  • Save pythoninthegrass/ef3c726b587045603008f26377280766 to your computer and use it in GitHub Desktop.
Save pythoninthegrass/ef3c726b587045603008f26377280766 to your computer and use it in GitHub Desktop.
Disable Apple Music (née iTunes) from launching via media keys
<?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.user.disable-rcd</string>
<key>ProgramArguments</key>
<array>
<string>/bin/launchctl</string>
<string>unload</string>
<string>-w</string>
<string>/System/Library/LaunchAgents/com.apple.rcd.plist</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
@pythoninthegrass
Copy link
Author

vim ~/Library/LaunchAgents/com.user.disable-rcd.plist
plutil ~/Library/LaunchAgents/com.user.disable-rcd.plist
launchctl load ~/Library/LaunchAgents/com.user.disable-rcd.plist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment