Make Hidden Application Icons Translucent in the Dock of Mac OS X
Notice anything different about that Dock? Some of the icons are shown as translucent, and that is because they are hidden apps. It’s a subtle change, and this hidden optional setting can be enabled in OS X by using the command line. This is a great feature for Mac users who hide apps to clear off their desktop, as it makes it very easy to identify what apps are hidden and which aren’t, just by looking at the icons to see if they are transparent or not. If you hide apps with any regularity you will probably want to turn this on yourself, it only takes a moment.
Enable Translucent Dock Icons for Hidden OS X Apps
Launch Terminal (found in Launchpad or the Utilities folder) and enter the following command string exactly:
defaults write com.apple.Dock showhidden -bool YES
Hit return, then next up you need to kill the Dock, which forces it to reload and have the change take effect:
Quick sidenote, you can combine those two commands into a single string for the Terminal as so:
defaults write com.apple.Dock showhidden -bool YES;killall Dock
The effect is the same.
Regardless of which command you used, you can now hide an application to see the effect. All hidden apps and their respective icons will show in the Dock but as the translucent version. This will apply going forward to every hidden application in Mac OS X that is would appear in the Dock.
There are several easy ways to quickly hide an app to test this out, here are three:
- Hit Command+H to hide the current application
- Option+Click on the desktop, or Option+Click to another application, to hide the current app
- Use a keystroke to hide and minimize everything
Command+H is probably the easiest for most users to remember, turning the icons into something like the ones shown below:
If you don’t like this setting, you can reverse it at any time.
Return to Default Dock Setting of Non Hidden App Icons
You can reverse this setting and have the icons visible as usual hidden or not by typing the following defaults string into the command line:
defaults write com.apple.Dock showhidden -bool NO;killall Dock
That command refreshes the Dock, forcing it to reload with the default settings returned. Now whether an app is hidden or not it will appear as usual, like so:
Contrast that default to the screen shots shown above where some of the icons are subdued and transparent to indicate their status. Personally, I think the transparent effect is great and worth keeping on.
All of the above defaults commands work in just about every version of OS X, from Snow Leopard to Mavericks, so regardless of what Mac or OS X version you can use this trick to customize your dock a bit.
Thank you to Tyler Harden for sending in this tip!