MacOS – How do you hide the Finder from the list of applications when Command-Tabbing
findermacos
This is already how my Mac is set up. I would like to turn it off.
Best Answer
You can generally hide any application from the Dock and the application switch list by enabling the LSUIElement property.
If this key is set to “1”, Launch Services runs the application as an agent application. Agent applications do not appear in the Dock or in the Force Quit window. Although they typically run as background applications, they can come to the foreground to present a user interface if desired.
So, open the application's property list:
/Applications/Application.app/Contents/Info.plist
… and add the LSUIElement key to the root of the tree, with a value of 1.
You can get there by right-clicking the application*, selecting Show Package Contents, then opening the Info.plist file. Ideally you'd do this with Property List Editor.app (that comes with Xcode 3) or Xcode 4 itself. You can also use a simple text editor, since the file is just XML.
After changing the value and saving the file, you should restart your dock:
killall Dock
… or, if you just changed the Finder's properties, relaunch it by right-clicking its icon while holding ⌥, then selecting Relaunch Finder.
* Finder is actually in /System/Library/CoreServices/Finder.app, not in /Applications. ** It mentions NSUIElement, for which I find no reference in Apple's Developer documentations. If someone could enlighten me on the difference between those two, go ahead.
I'm afraid this isn't possible. It is just all or nothing. Here are a few alternatives to make it a bit smoother:
The Apple Hidden Files Widget. Toggle the hidden files with one click, works for me. Widget
Use a third party app for finding hidden files. For example, Path Finder from Cacao Tech. It makes it possible to view hidden files without your finder being messed up with all those files.
Best Answer
You can generally hide any application from the Dock and the application switch list by enabling the
LSUIElement
property.So, open the application's property list:
… and add the
LSUIElement
key to the root of the tree, with a value of1
.You can get there by right-clicking the application*, selecting Show Package Contents, then opening the
Info.plist
file. Ideally you'd do this with Property List Editor.app (that comes with Xcode 3) or Xcode 4 itself. You can also use a simple text editor, since the file is just XML.After changing the value and saving the file, you should restart your dock:
… or, if you just changed the Finder's properties, relaunch it by right-clicking its icon while holding ⌥, then selecting Relaunch Finder.
A similar approach was also mentioned on LifeHacker recently: Remove Finder from the Application Switcher in OS X **
* Finder is actually in
/System/Library/CoreServices/Finder.app
, not in/Applications
.** It mentions
NSUIElement
, for which I find no reference in Apple's Developer documentations. If someone could enlighten me on the difference between those two, go ahead.