Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've started using Forklift as a Finder replacement, so I don't need Finder in my Dock. In fact, I would much rather have Forklift be the farthest left icon so I don't accidentally click on Finder.

The usual method of dragging the app out of the Dock doesn't work, and neither does command-dragging. The contextual menu doesn't allow you to remove the icon.

Is there some way to, on Lion, remove the Finder from the Dock?
Perhaps there's a database or plist file I can change?

share|improve this question
up vote 26 down vote accepted

There is no easy way to do this, but there is a little hack :)

  1. Navigate to /System/Library/CoreServices/
  2. Backup DockMenus.plist
  3. Open DockMenus.plist in your favorite text editor with root access
  4. Find section finder-running and add new sub-section


    or just Download my version of DockMenus.plist

  5. In plist editor file should look like this:

    Plist Editor

  6. Open Terminal and run killall Dock.

  7. Right click on Finder icon in Dock - Bingo!

    Finder "Remove from dock"

p.s After Dock restart (manual relaunch or mac reboot) you need manually remove Finder icon from Dock

share|improve this answer
Oneliner :) f=/System/Library/CoreServices/; sudo cp $f.plist $f-old.plist; sudo defaults write $f finder-running -array-add '<dict><key>command</key><integer>1004</integer><key>name</key><string>REMOVE_FR‌​OM_DOCK</string></dict>'; sudo chmod 644 $f.plist; osascript -e 'quit app "Dock"'. I didn't find any way (other than GUI scripting) to automatically remove Finder from Dock after relogins though. – user495470 Nov 7 '11 at 11:39
Awesome, thanks! I set up a script to run at login to click the menu item: tell application "System Events" to tell UI element "Finder" of list 1 of process "Dock" perform action "AXShowMenu" click menu item "Remove from Dock" of menu 1 end tell – Nathan Greenstein Nov 8 '11 at 1:18
Will this break the code signing of the Dock, per Stevetech's answer? – ignis Nov 5 '12 at 23:43
Works for me on Mavericks. Except that the white 'light' underneath the icon (or rather, where the icon would be) is still there). – eebbesen Mar 12 '14 at 3:13
@eebbesen you'd have to quit finder before removing it from Dock. – AfzalivE Oct 27 '14 at 18:26

protected by Community Mar 15 '12 at 9:27

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.