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

Mar 25, 2013 7:38 AM in response to William Brawley

I just found a solution that works for me, but may cause problems for others.


I renamed iTunes.app. It no longer launches when I press the keyboard keys, but will still launch when I tell it to.

This may cause some issues elsewhere, but I only use iTunes for syncing my iPod, and nothing more, so it works for me.


This "feature" has caused me a headache, as my cat is constantly launching iTunes.

Mar 31, 2013 11:28 AM in response to William Brawley

Hello everyone, I hope I have found a proper solution for ML that works very well.


I removed the line to launch itunes from the rcd binary and re-signed it. It now runs perfectly smooth and the media buttons control all apps (including itunes if open) without starting itunes.


The portion in the rcd binary I removed was "tell application id “com.apple.iTunes” to launch" (replaced it with zeroes). I signed the binary using "sudo codesign -f -s - /System/Library/CoreServices/rcd.app/Contents/MacOS/rcd"


I attached a zip file containing the original rcd binary as backup, one with the changes (it won't run due to the code signing) and the new resigned. Rename the signed one to rcd and replace the existing copy at /System/Library/CoreServices/rcd.app/Contents/MacOS/.


Running OSX Mountain Lion 10.8.3, use at own risk!



https://dl.dropbox.com/u/1837223/rcd_nostart.zip


Good luck 🙂

Apr 27, 2013 4:51 AM in response to chrisclock

Hi


When I press option shift L on a Belgian keyboard, iTunes is launched just like when I press the Play (F8) button. This prevents me from making the pipe / vertical bar character, so it's quite annoying. Could your solution be applied to this particular problem too? I'm unfamiliar with tweaking, I'm afraid.


Best regards

May 9, 2013 2:53 AM in response to chrisclock

Great ! A bit hacky but works flawlessly on ML and freshly installed macMini late 2012. Beware to do the edit of rcd again when next updated, of course. Thanks for the codesign hack BTW, 😀


To be sure it will work I'll managed that way :


1 - Stop rcd process (via kill or activity monitor "quit")

2 - copy rcd_nostart from Chrisclock zipped package on the right location ('/System/Library/CoreServices/rcd.app/Contents/MacOS/')

3 - renamed rcd to rcd_backup

4 - renamed rcd_nostart to rcd

5 - "codesigned" newly named rcd file (via terminal line command)

6 - launch back rcd by typing "./rcd &" in terminal opened in the rcd file location


All this required some admin password signing popup fillings of course.


Regards


Pierre

Visual Art by Une-Vache on deviantArt

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.