You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

📰 Newsroom Update

Billie Eilish is Apple Music’s Artist of the Year for 2024. Learn more >

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

Sep 13, 2012 9:19 AM in response to William Brawley

Apple REALLY doesn't want us to use anything but iTunes, it appears.


I have recently discovered Clementine, a free music player which is quite nice, though not as attractive as the Windows based Media Monkey and some others. I've done side-by-side comparisons between the same music files recorded in Apple Lossless and AAC 320 kbps. played in iTunes and Clementine and Clementine hands down sounds smoother and airier, lacking in the harshness displayed by iTunes in playback. I used AKG K240 professional studio headphones and Numark studio monitors and a Focusrite DAC for the comparison.


Also, as long as Clementine is running, it retains control over the keyboard Play/Pause and arrow keys even when Clementine's window is not on top or even maximized. While it doesn't solve the problem of iTunes launching from the Play/Pause button if Clementine is not running, it at least cuts down on this iTunes annoyance while providing a better library and audio playback option for me ....and it's free! It integrates with iTunes library IF you want it to.

Nov 16, 2012 11:21 PM in response to riptide_

Hello,


I tried the above solution of editing out the "tell application id "com.apple.iTunes" to launch" line from rcd, but now I see my console giving me this error every 10 seconds:


kernel: proc 1038: load code signature error 2 for file "rcd"


If I try to run rcd from the terminal, it immediately segfaults.


Any idea what's going on? This happens when I edit out that line using 0xED or using vi. Did you leave blank space in the line? Or delete it entirely?


Thanks,

Gabriel

Nov 17, 2012 11:49 AM in response to bodhirocking

As far as I can tell, the hex editing isn't actually doing anything except making the file crash. If someone figures out how to make it run yet still not load iTunes, that would be ideal, to prevent the system from trying to start rcd every 10 seconds and failing.


It seems to me if the hex editing is only going to make rcd crash, then a better option would be to just remove executable privileges from the same file. chmod -x rcd. I think that was an earlier solution posted in the thread before the suggestion of editing the file. The system will still try to load rcd every 10 seconds though.

Nov 17, 2012 4:06 PM in response to grocklin

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


Now the console is not showing the error anymore. I still don't know if this setting will remain after a reboot, I always leave my mac in sleep mode.


I Hope this will be helpful for you all. Regards

Jan 28, 2013 12:50 PM in response to bodhirocking

I tried the command described above:

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


iTunes no longer launches when I use the remote, but now iTunes doesn't respond at all to the remote.


I tried the terminal command to revert back to the prior state: launchctl load -w /System/Library/LaunchAgents/com.apple.rcd.plist


But the problem remains.


Amazing how such a simple problem is so difficult to resolve. You'd think only one active application at a time would respond to the remote, but apparently there is no easy way to control this????


Thanks for any help from the gurus out there.

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 Account.