How to hide a specific active app on OS X (has to be reversible)?

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.

  1. Go to your applications folder and right click (control-click) on the app you wanna hide from the dock.

  2. Click on Show contents. You should now be able to see "inside" the app's files.

  3. Open the Info.plist file in the Contents folder with TextEdit (right click -> "Open with...")

  4. Go to the very bottom of the file and find the last two lines which should say:

    </dict>
    </plist>

  5. Now insert this before these two lines and save the file.

    <key>LSUIElement</key>
    <true/>

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.


Source: Link


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 [App Name].

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.

http://ghosttile.kernelpanic.im/


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:

  1. Download Dock Dodger (for example: download from Apponic)
  2. Start Dock Dodger (you might have to allow opening this app from your macOS Security Settings because it's an unidentified 3rd party developer.
  3. Drag-and-drop the Application you want to hide on the Dock Dodger window
  4. Quit Dock Dodger
  5. 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
  • Press command + H on 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

or:

  • 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.