Is it possible to change some Finder settings so that it doesn't automatically close the window when the Trash is emptied or a usb disk/hard drive is ejected?

  • Sorry, no. The Finder is not designed that way. – Ted Wrigley Jan 21 '20 at 7:29
  • This is just what the Finder does. If you have a Finder window open on a resource that goes away (disk, network drive, etc), then the window closes. I find it a bit annoying too. If you want the Finder window to stay open, then you need to select a different disk before ejecting, unmounting, deleting the one the window is open to. – GregC Jan 21 '20 at 16:14
  • Press ⌘⇧H before you eject the disk or empty the trash, and the Finder window won't close. It only closes when you are viewing the trash or disk that you empty/eject. If you otherwise change the active directory shown in the Finder window, it won't close. – TJ Luoma Mar 23 '20 at 0:39
  • Do you want the window to stay on the trash page or go to another page? – Roxiun Mar 29 '20 at 12:18

You could probably write a script with grep and diskutility that opens finder whenever the count of disks changes?

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .