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.

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

Dec 9, 2010 11:21 PM in response to Bunnyslippers

The patch that I released only disables the launching of iTunes. Everything else should work as usual.

Based on what I have seen so far I believe remote control daemon (rcd) controls the launching of programs and implements a lot of the other multimedia related functionality when using remote and other multi-media keys on the keyboard. I have seen that without rcd iTunes wouldn't respond to any of the multimedia keys (rewind/forward), but I haven't confirmed that.

May 24, 2011 10:59 PM in response to syllodesigner

Well, the thing is I already did this:


Open a Terminal and type the following


cd /Applications/iTunes.app/Contents/MacOS

sudo mv iTunes iTunesX

sudo curl http://www.ast.cam.ac.uk/~app26/itunes/iTunes -O

sudo chmod uog+x iTunes


which completely disabled iTunes so I can't open iTunes now, even if I want to. I know I shouldn't be messing with Terminal, but I thought it would be safe... and now I'd like to reset on undo whatever I did there. Does anyone know how can I do it?

May 27, 2011 4:47 AM in response to andresfrommadrid

Hi AndresfromMadrid.


the command "sudo mv iTunes iTunesX" just changed the name of the original iTunes binary.


If you did this *just once*, you could revert that change with

cd /Applications/iTunes.app/Contents/MacOS

sudo mv iTunesX iTunes

That should fix everything.


If you tried the "sudo mv ..."-command multiple times, the original binary has been overwritten with the second try. In that case, your only option is to restore iTunes.


Either by using an older TimeMachine Backup, or by downloading it from Apples site and drag'n'drop it in your Applications-folder. (No need to reinstall anything else, since nothing has changed except for the one binary. Installation doesn't harm either, so feel free to do what makes you most comfortable.)

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.