remove Finder icon from Dock

Does anyone know a way to permanently remove the Finder icon from the Dock? Either by a Terminal command or a 3rd party software package?

MacBook Air, Mac OS X (10.7.2)

Posted on Apr 14, 2012 8:16 AM

Reply
24 replies

Mar 26, 2014 11:36 AM in response to nandato

nandato wrote:


[...]

I changed the DockMenus.plist file and add this stuff as explained previously

1) finder-running

2) trash


in the plist file and add at the end of both (but between the tags <array> and </array>) in both the following:


<dict>

<key>command</key>

<integer>1004</integer>

<key>name</key>

<string>REMOVE_FROM_DOCK</string>

</dict>

Which is in the following path:

System/Library/CoreServices/Dock.app/Contents/Resources/DockMenus.plist


Had the same problem, but the following AppleScript solved the issue for me (My previous configuration is what i quoted above):


my toggle_indicator_lights()


do shell script "killall Dock"


delay 3



tell application "System Events"

tell UI element "Finder" of list 1 of process "Dock"

perform action "AXShowMenu"

click the last menu item of menu 1

end tell

end tell



my toggle_indicator_lights()



on toggle_indicator_lights()

tell application "System Preferences"

set current pane to pane id "com.apple.preference.dock"

tell application "System Events"

tell process "System Preferences"

tell first window

clickcheckbox 3

end tell

end tell

end tell

end tell

quit application "System Preferences"

end toggle_indicator_lights

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

remove Finder icon from Dock

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.