MacOS – Prevent application from displaying badge icon in Dock

dockmacosnotifications

Any Spotify desktop user has likely noticed their pervasive notifications: whenever "one of our friends" joins Spotify, there's both an in-app notification as well as a red badge that appears on Spotify's icon in the Dock.

Spotify Dock icon, with badge, for reference

Is there a way to disable an application's ability to show a badge on its Dock icon?

I'm using Lion (10.7.8), and therefore don't have the 'Notifications' prefpane that was introduced in Mountain Lion.

I tried digging around in the app's resources and .plist file to see if there was a setting to enable/disable this… to no avail.

Best Answer

No - the normal path is to use the Notifications prefpane to turn off notifications, but this would not help, since Spotify is not listed there.

I'm also very annoyed by Spotify's constant flood of notifications. I wonder if there was a way to drop all the social-related network traffic that goes into Spotify and somehow nip these notifications at the bud.