Don't Open iTunes!


I do like listening to music while working. But there is a problem with that. When I want to listen to music, I press the ⏯ button. But it opens iTunes on Mac! Because Spotify always isn’t open and I don’t like using login items. So I’d love to change this behaviour. In order to achieve our objective, we need to follow some steps.

Remove iTunes Helper from Launch Agents

For doing this, you need to use this command on your CLI; launchctl unload -w /System/Library/LaunchAgents/com.apple.rcd.plist. What does the command do? It removes iTunes launch agent from between Launch Agents.

You have iTunes-less Launch! Hooray!

We got rid of iTunes issue. But now Spotify won’t open when you press ⏯ media key on your keyboard if it’s not in login items. In shortly, you can resolve this issue by adding Spotify to your login items.

Is there something more?

I’d like to say that you can add Spotify Helper to your Launch Agents. But it seems like not possible for now. Besides that, you may want to check BeardedSpice out to manage all media stuffs on MacOS.

Open Spotify with a custom shortcut

It’s possible with automator and keyboard shortcuts. You can define a service which opens Spotify on Automator. Then you can define a keyboard shortcut to run that service. For more information, click here. But I didn’t deeply try this option. There might be a little issue.