52

First time Mac user. I am confused by the fact that the finder application is always open. For example, when switching apps with Cmd+Tab, it is always there, even when there are no windows opened for the app. Cmd-tabbing to Finder with no windows/tabs opened for it has no effect (it seems to me it would more intuitive to open a new tab when this action is chosen).

Furthermore, there is no 'Close app' option when I right click the Finder icon in the dock. Am I misunderstanding something about the Finder app? Is it required for proper functioning of macOS? From what I see, Finder is just a file browser, which by no means should be forced to be open 100% of the time.

Giacomo1968
  • 5,442
  • 7
  • 32
  • 59
levesque
  • 621
  • 1
  • 5
  • 11
  • Check what happens when You click on Desktop:) – Mateusz Szlosek Feb 28 '17 at 15:42
  • 7
    At first I didn't see anything, but I see now that the desktop in itself is a Finder window. Makes sense, just like with Gnome, etc. – levesque Feb 28 '17 at 15:59
  • 15
    See it as `explorer.exe` which is also always open on Windows – Stéphane Bruckert Feb 28 '17 at 17:08
  • 7
    Thing is you don't see `explorer.exe` in Windows unless you open the task manager. It is there, but behind the scenes, you don't see it when alt-tabbing. – levesque Feb 28 '17 at 17:45
  • This is something you just get used to, coming from Windows. That Finder icon is always going to be in your Dock unless you try to do something really crazy. Don't. :] – user428517 Feb 28 '17 at 18:44
  • 11
    @levesque That's actually not true. Since Windows 7 (almost 10 years now), "Desktop" has been included in the Alt-Tab list. That's explorer.exe. – nobody Feb 28 '17 at 22:37
  • Tell Voice Command/Siri to close Finder and see what happens. – TheWanderer Mar 01 '17 at 12:04
  • you can quit finder by running the applescript: `tell application "Finder" to quit`. see what happens to the desktop! – dalearn Mar 01 '17 at 13:33
  • @AndrewMedico wow, I really do not know Windows anymore. Been using Linux for work stuff, haven't looked back. There would still be a slight difference in behavior where alt-tabbing to desktop actually does something, whereas alt-tabbing to Finder without windows does nothing. – levesque Mar 01 '17 at 15:10
  • @dalearn Tried closing it, not much happens since my Desktop is blank ;) – levesque Mar 01 '17 at 15:11
  • 4
    @levesque Alt-tabbing to Finder does do something, just not everything it does in Windows. You are now in the Finder, and can do things like open up new finder windows, make folders on your desktop, and call "hide others", thus displaying the desktop. – Logarr Mar 01 '17 at 15:26
  • @Logarr Good point. – levesque Mar 01 '17 at 15:30
  • @Andrew: The Desktop was removed from the Alt+Tab menu in Windows 10. –  Mar 01 '17 at 21:32
  • Its actually frustrating user experience. Even if you have no finder window open, while switching apps using cmd+tab, finder(without window) appears out of nowhere. It gives a feeling like sometimes cmd+tab work and sometimes it doesn't. – Kanad Mar 31 '22 at 07:13

4 Answers4

59

The main reason it's always open is that it displays the icons on the desktop. You can check what the finder does by enabling the "Quit" menu feature. To do this, launch the Terminal application and enter the following commands:

defaults write com.apple.finder QuitMenuItem -bool YES

Hit return. Then restart the Finder by running

killall Finder

Close the Terminal. Click on the Desktop, choose "Finder" in the top bar, and "Quit Finder". Now you're running without Finder. First thing you'll notice is that all Desktop icons will be gone.

To get your desktop icons back, just click on Finder in the Dock.

If you want to remove the "Quit Finder" menu item, you can do that with:

defaults write com.apple.finder QuitMenuItem -bool NO
user3439894
  • 55,813
  • 9
  • 101
  • 125
user2707001
  • 3,056
  • 1
  • 19
  • 25
  • Another way to quit Finder (without it automatically reopening) is to open Script editor and type `Tell application "Finder" to quit`. For some reason, when the command comes from Applescript, Finder will oblige. – Wowfunhappy Nov 26 '20 at 18:47
18

It's not only a "file browser", but it's responsible for quite a bit of GUI functionality such as the Desktop, following paths and connecting to servers. Finder is always running, and a launch service will relaunch it if it is quit unnaturally. Much like File Explorer (explorer.exe) on Windows, you shouldn't quit it. Quit functionality can be added back to Finder, but you really shouldn't unless you have a very good reason for it.

grg
  • 192,762
  • 43
  • 337
  • 460
  • 4
    Actually, Finder is not auto-relaunched, regardless of the `QuitMenuItem` setting. I've observed this in 10.9 through 10.12. – Bob Mar 01 '17 at 01:32
  • Haha, I find myself quitting explorer.exe quite often XD I find my way around without the GUI fairly easily since clthe command prompt can still be used – Brevan Ellefsen Mar 01 '17 at 23:02
  • *Quit functionality can be added back to Finder, but you really shouldn't* Why not? Aside from the GUI functions, no part of the system depends on the Finder. IMO the Finder *is* just a file browser -- the GUI functionality of displaying icons on the desktop is just one of the functions of that file browser. – Josh Mar 02 '17 at 17:24
  • @Bob Finder is restarted "if it is quit unnaturally" – grg Nov 18 '20 at 13:25
5

Think of the background process for Finder akin to that of the 'Windows Explorer' background process on Windows. As mentioned above, it is essential for the MacOS UI & GUI elements on the desktop. If you are new to Mac, take a look at the Activity Monitor App in your Utilities folder. This is essentially the Mac equivalent to Task Manager on Windows and can help organize/debug processes in the background.

LzG
  • 71
  • 1
0

For myself, I found a good way to use the CommandQ shortcut in Finder.

You can configure CommandQ to close all Finder windows, as it does for other apps (except quitting Finder) as follows:

  1. Open System Preferences > Keyboard > Shortcuts > App Shortcuts
  2. Create a new shortcut as follows:
    Application: "Finder"
    Menu title: "Close All"
    Keyboard Shortcut: "Command Q"

Note that the original shortcut, CommandOptionW, will stop working.

jaume
  • 14,465
  • 4
  • 54
  • 70
  • This question is not about Finder windows but the original poster is asking why Finder is always open as they state here: “Am I misunderstanding something about the Finder app? Is it required for proper functioning of macOS?” – Giacomo1968 Dec 27 '21 at 06:19