MacOS – way to hide certain apps from the cmd+tab menu

applicationsmacos

Is there a way to hide certain apps from cmd+tab?

The problem I'm facing is that I have some apps (like iTunes and of course Finder) always open. But when I'm working and switching between apps that are relevant for me (Chrome, Sublime, Terminal) with cmd+tab I'll always see these 'irrelevant' apps in the menu.

Thanks

Best Answer

Yes, it is possible, however the only way I know of doing it also hides the dock icon.

you must modify the file named 'Info.plist' inside the Application's package (i.e. Sherlock.app/Contents/Info.plist). Open this file in your favorite text editor and add the following section (if it's already present simply change the 0 to a 1 in the string tag):

<key>LSUIElement</key>
<string>1</string>

Source: Hide any program’s Dock icon - Macworld Mac OS X Hints

In the newest version of macOS, a string should not be set for LSUIElement. Instead, you need to use a boolean as follows:

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

Before OS X 10.8, use this instead (note NS instead of LS):

<key>NSUIElement</key>
<string>1</string>