Is there a way to hide the application window and the dock icon of one specific active app in OS X? Kinda like a background service that can be turned on or off.
This solution worked for me, but it might depend on the application in question. I tried it with a 3rd party app called "Burn" and it worked.
Go to your applications folder and right click (control-click) on the app you wanna hide from the dock.
Show contents. You should now be able to see "inside" the app's files.
Info.plistfile in the
Contentsfolder with TextEdit (right click -> "Open with...")
Go to the very bottom of the file and find the last two lines which should say:
Now insert this before these two lines and save the file.
After this the app's dock icon will not be shown anymore. Keep in mind that you will need to use the Activity Monitor or Terminal (
killall <appname>) to quit the app if you close the window.
If closing the window quits the app, you can press
cmd + h to hide the window. This should make your app completely invisible.
To make it visible again, just remove those two lines again and the app should behave like before.
Use native PlistBuddy command to do it:
/usr/libexec/PlistBuddy -c 'Add :LSUIElement bool true' /Applications/[AppName].app/Contents/Info.plist
Don't forget to change the
If you wish gonna back, run command:
/usr/libexec/PlistBuddy -c 'Delete :LSUIElement' /Applications/[AppName].app/Contents/Info.plist
Recently I came across an app called GhostTile and it does exactly this. I tried dock dodger and it didn't work but this one definitely worked and is pretty awesome.
A 3rd party drag-and-drop application called Dock Dodger removes an Application from the Dock and
command + tab sequence for you. This way an application is still actively running but completely hidden.
It works for most applications on Mac. However, when updating a hidden application, it might undo your change, so you might have to run it through Dock Dodger again.
Steps to follow:
- Download Dock Dodger (for example: download from Apponic)
- Start Dock Dodger (you might have to allow opening this app from your macOS Security Settings because it's an unidentified 3rd party developer.
- Drag-and-drop the Application you want to hide on the Dock Dodger window
- Quit Dock Dodger
- Simply (re)start the Application you want to hide.
There is one 'but...'
When starting the application you just set to be hidden, it will show the application Window.
- Click anywhere in the Application window to have it come to the front and have focus
command + Hon your keyboard to hide the Application Once hidden, most applications will stay hidden.
To quit a hidden app:
- Open Activity Monitor
- Find the name of your hidden Application in the list
- Quit or Force Quit
- Find the hidden Application in Finder (usually in your Applications folder)
- Start the hidden Application
- For most applications, this will unhide the Application window and bring it to the front
- You can now Quit the Application from the macOS menu or press
command + Q
One downside of using Dock Dodger:
Is this reversible? Dock Dodger doesn't help you to undo this change. To reverse it:
- Use the answer provided by @comfreak (https://apple.stackexchange.com/a/207944/96748) to undo the change.
- Or simply make a backup/archive/copy of the Application before you make the hide change.
The upside of using Dock Dodger
- It's a very easy one-step drag-and-drop action.
I've successfully used it to hide the apps Wacom Desktop Center and SpamSieve on macOS Sierra. I noticed the official Dock Dodger download location went offline, so I added an Apponic download link.
You can still hide specific app icons from dock, at least it worked for me on macOS Big Sur 11.2.3.
Remove app signature first:
sudo codesign --remove-signature /Applications/<App name>.app/Contents/MacOS/<App name>
If you get an error like
xcrun: error: invalid active developer path
sudo xcode-select --reset
and then repeat Step 1
Option 1: You may perform procedures as described in https://apple.stackexchange.com/a/207944/96748, as I don't see any reason why this wouldn't work, since it is pretty much what second option does. However, I haven't tested this approach.
Option 2: Alternatively (this one I have tested and it worked) it might be a little more convenient to just run script from GitHub repo FirePanther/MacOS-Hide-Dock-Icon as described in README.md with
sudo php <path to hideDockIcon.php>/hideDockIcon.php
(You obviously need to download this file first)
Just to save others from wasting their time here:
This appears to be impossible in macOS Monterey onwards
macOS Monterey 12.0.0 was released October 2021, so around then was probably when this functionality was removed
I've gone through all the suggestions above:
- Add the
- Remove the code signature from the application
- Dock Dodger (actually it doesn't even run anymore)
None. Of. Them. Work.
I've also searched other internet forums: Reddit, Google, etc. And nobody seems to have a solution for this that works for macOS Monterey 12.3+.
As far as I can tell, this is not possible.
Unfortunately, the solutions already answered did not help me under
macOS 11 But I have found a solution how I can no longer make apps visible with a graphical user interface from the
Dock and from
Exit immediately This can be useful if this app only has background services but is still not displayed as nicely in the dock.
There is no way to hide a running app from the macOS operating system if it cannot authenticate itself with an
Agent (LSUIElement) or
Background Application (LSBackgroundOnly)
Since the agent application unfortunately didn't work for me, I would like to introduce one that has always worked for me.
To solve this problem you have to write another keyword in the
/usr/libexec/PlistBuddy -c 'Add :LSBackgroundOnly bool true' /Applications/[AppName].app/Contents/Info.plist
Since the background application key now exists and is set to "YES"
Launch Services only runs the application in the background.
The app must now be restarted. You will still see that this app has a graphical interface, but when you click away the app is no longer in the dock and is no longer available when you exit immediately. You would have to end this process with the terminal or with the activity monitor.
To remove the key just enter the following command:
/usr/libexec/PlistBuddy -c 'Delete :LSBackgroundOnly' /Applications/[AppName].app/Contents/Info.plist