How To Stop iTunes From Interfering With The Mac Media Keys

Ads by Google

iTunes problemsModern Mac keyboards are outfitted with a number of extra function keys. Using those, you can instantly adjust your volume, screen brightness, or command media playback.

There’s only one problem. Although they are essentially compatible with all applications, as a ‘feature’, these media keys automatically launch and start playing songs from iTunes. Even when you’re using them in another application.

And there’s absolutely no easy way to turn it off. Most call it a bug, but Apple calls it a feature, and they don’t seem to be planning to release a fix for this iTunes problem anytime soon. Over the past few years, people have come up with all sorts of tricks to be able to use these keys properly. We’ll be discussing a number of them below – ranging from quick fixes to total workarounds.

Solution One: Delete iTunes

WHAT? We told you we’d be seeing some pretty easy work-arounds. Well, this is about as quick as it gets. If you delete iTunes, you won’t be bothered by it launching in the future. Of course, this solution is only applicable for people who don’t use iTunes at all. If you ever want to reinstall iTunes, you can download iTunes from the Apple website for free.

iTunes problems

Ads by Google

HOW? Go to your applications folder by opening Finder and selecting Go -> Applications. Find the iTunes application and drag it to the trash can. Finally, select Finder -> Empty Trash… This will completely erase iTunes from your computer.

+ Quick and easy
+ Complete solution – no further hassle
You can’t use iTunes at all

Solution Two: Keep iTunes Or QuickTime Idle In The Background

WHAT? There are two other situations where iTunes doesn’t steal your focus. In the first scenario, iTunes is already open. In the second, QuickTime Player is. Basically, this solution will allow you to use the media function keys without interruption, but can be CPU intensive. For that reason, the QuickTime technique is preferred.

HOW? Open QuickTime, but no video. The application will run in the background and prevent iTunes from picking up the media key signals.

Alternatively, you can also use iTunes, but be sure to open the iTunes store before hiding or minimizing the application. That way, no songs will start playing spontaneously.

+ Quick and Easy
CPU intensive
Needs to be done continuously, and again after each startup

Solution Three: Disallow iTunes To Start By Media Keys

WHAT? There are basically two things we’re going to do. First, we’ll rename an essential file in the iTunes application package. That way, iTunes can’t start – not even when the media function keys try to. Second, we’re making an alternative executable that will launch the altered iTunes file.

HOW? Time to get our hands dirty. Open the Terminal application from Applications -> Utilities -> Terminal. Type the code below, or use copy-paste. Press enter after each line. You’ll be asked for your computer password after the second command.

cd /Applications/iTunes.app/Contents/MacOS
sudo mv iTunes iTunesX
sudo chmod uog+x iTunes

Close the terminal and open AppleScript Editor, also via Applications -> Utilities. Copy-paste the code below.

tell application “Finder”
open document file “iTunesX” of folder “MacOS” of folder “Contents” of application file “iTunes.app” of folder “Applications” of startup disk
end tell

Select File -> Save As… and change the File Format to Application. Call it iTunesX and save it to your applications folder.

iTunes problems

This executable will still be able to launch iTunes for you, and best of all, you can drag it to your dock. Alas, launching iTunes this way will also open a terminal window for the duration of the session.

+ Complete solution – no further hassle
Relatively complicated
Starts terminal window with iTunes

Do you have any other suggestions on how to deal with this problem? Let us know in the comments section below!

Join live MakeUseOf Groups on Grouvi App Join live Groups on Grouvi
Music Apps & Sites
Music Apps & Sites
336 Members
Mac OSX Tips & Issues
Mac OSX Tips & Issues
235 Members
Mac Troubleshooting
Mac Troubleshooting
93 Members
Apple Hardware Discussion
Apple Hardware Discussion
75 Members
Affiliate Disclamer

This article may contain affiliate links, which pays us a small compensation if you do decide to make a purchase based on our recommendation. Our judgement is in no way biased, and our recommendations are always based on the merits of the items.

For more details, please read our disclosure.
New comment

Please login to avoid entering captcha

Log In