Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How to stop iTunes from launching when using Keyboard media keys

Hi,

I love the media keys on my MacBook and Apple wireless keyboard for playing, pausing, changing tracks etc with iTunes, but there are other than can utilize the media keys, like Spotify for instance. However, if I have iTunes closed, when I hit the Play key, iTunes will automatically launch, and will intercept any subsequent presses of just the play/pause button. Is there a way to stop this annoying behavior? I haven't found anything in the Keyboard shortcut system pref.

thanks.

black MacBook (Santa Rosa), 2.2Ghz Intel Core 2 Duo, 160GB HD, 4GB RAM, Mac OS X (10.5.8), 16GB iPod Touch, 2G 1GB iPod Shuffle, 4G 20GB iPod

Posted on Aug 20, 2009 5:51 PM

Reply
310 replies

Jun 14, 2013 2:56 AM in response to mikelis

I've always used

launchctl unload -w /System/Library/LaunchAgents/com.apple.rcd.plist

to stop itunes from interfering.

Strangely after the 10.8.4 update, Vox couldn't be controlled anymore by my media keys, but after

launchctl load -w /System/Library/LaunchAgents/com.apple.rcd.plist

and

launchctl unload -w /System/Library/LaunchAgents/com.apple.rcd.plist

it works again 🙂

Oct 25, 2013 1:39 PM in response to mikelis

I've grown tired of my headphone remote controls not working on my laptop, but when went to undo mmfix I got the error "bad file"... I just tried the recently posted signed "rcd", however I don't see any change what so ever; my headphone remote controls still don't work.


Is there any way I can

  1. Undo mmfix
  2. Prevent iTunes from launching on "play" button
  3. Get headphone remote controls

Oct 25, 2013 11:39 PM in response to Stephen_MD

For (2) did you try bodhirocking solution?


"Well since the rcd got corrupted or can't be launch because of codesigning issues, we can disable the launch request for the app using:


launchctl unload -w /System/Library/LaunchAgents/com.apple.rcd.plist


I got this terminal command from: http://gavinroy.com/disabling-default-itunes-launch-behavior-with

"


This still works for me, even in Mavericks!

Feb 26, 2014 10:10 AM in response to William Brawley

I don't know if you guys resolved this issue or not, but I found a solution: http://www.thebitguru.com/projects/iTunesPatch


"This is a patch for removing the default OS X behavior of always starting iTunes when the play button on the keyboard is pressed. This feature can be useful for a lot of users, but it can also be annoying if you are using VLC or other similar programs that support the media keys.

The

Patch.command
script will patch the Remote Control Daemon to prevent it from starting iTunes whenever you press the play button on the keyboard or an external remote control. This will only prevent iTunes from starting, all other functions (like play/pause while iTunes is running) will continue to work as before.

Lastly, this program will backup the original file in case if you would like to restore the original functionality."

How to stop iTunes from launching when using Keyboard media keys

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.