Displaying only active apps at the bottom of the desktop can result in a refreshing change if the dock is overcrowded with various app shortcuts over time and you want to use Spotlight (shortcut) Command-Space ) or an alternate way to start your Mac apps.
When executing the following simple steps, keep in mind that Terminal is a powerful app. Make sure you enter the commands correctly, especially if you are unfamiliar with them.
To show only active apps in your dock
- Start the Terminal App in Applications / Utilities . (To quickly open the Utilities folder in the Finder, select Go to -> Utilities from the menu bar or use the keyboard shortcut Shift-Command-U .)
- At the Terminal prompt, type the following command and press Enter: defaults write com.apple.dock static-only -bool true; killall dock
- Your dock restarts to show only the currently running apps on your Mac, in the order in which they started.
Resetting the dock to its original state
If you do not want to use this dock, follow these steps to return to normal behavior:
- Restart the Terminal App if it is not already open is.
- At the Terminal prompt, type the following command and press Enter: defaults write com.apple.dock static-only -bool false; killall dock
- Restarting your dock and displaying both running and non-running apps.
If there is a specific active app that you want to hide from the dock for whatever reason, there are some third-party utilities that might help. Dock Dodger is a free drag-and-drop tool that can hide certain apps from the dock even when they're running (once they're placed on the tool's droplet, you'll need to restart that app to hide them, though ours Success rate varies depending on the app). When you're ready to open your wallet, GhostTile is a newer and reliable paid alternative with similar functionality.