When you fire up a Mac, the first thing that is visible to you is the Desktop screen and a dock with the full list of colorful icons at the bottom edge of the screen. This arrangement sometimes looks awful, especially if you have too many apps residing in that space. Fortunately, there’s a way to force the MacBook Dock to show only the running apps and hide the rest. Here’s how you can stop unwanted apps to stick around near the dock region.
How to force the MacBook Dock to show only the running apps?
Certain apps in macOS have the tendency to stick around in the Dock region even when they are used or accessed rarely. Moreover, many users believe no UI option exists to limit these apps’ keep-in-dock behavior. That’s not true, however. You can configure your MacBook Dock to show only the running apps and keep others hidden, by using the defaults write command.
- Launch the Finder app.
- Choose Applications from the sidebar.
- Navigate to the Utilities folder.
- Select the Terminal app.
- Enter the defaults write command.
- Hit the Return key.
- Check your Dock arrangement.
- To undo the changes, enter another Defaults write command.
The Dock in a MacBook offers convenient access to frequently used apps, websites, documents, windows, and folders.
How do I stop apps from appearing on my Mac Dock?
To get started, launch the Terminal app. If you are using it for the First time, click open the Finder app on your MacBook from the Dock.
Next, select ‘Applications’ from the sidebar on the left and choose the ‘Utilities’ folder. Click on it to continue. Then, locate the Terminal app. When found, launch it by clicking its icon.
When the window opens, enter the following command and hit the return key –
defaults write com.apple.dock static-only -bool true; killall Dock
Wait for a few seconds to allow the changes to take effect. Once done, check the arrangement on your dock. It should show only the running apps.
At any point, if you feel like undoing the changes made earlier, simply launch the Terminal app again and enter either of the following commands –
defaults write com.apple.dock static-only -bool false; killall Dock
defaults delete com.apple.dock static-only; killall Dock
Hit the Return key and you should be able to switch back to your earlier arrangement.
Hope that makes sense!