Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

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
Question marked as Best reply

Posted on Apr 14, 2012 9:15 AM

The "why" really isn't all that important. I just want to make some space in the Dock and the Finder icon is pretty much useless.

24 replies

Oct 30, 2013 12:04 AM in response to lllusion

Just find: 1) finder-running and 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>


I did it with Text Wrangler.

It will let you show up the Remove From Dock Option when you click on the finder and trash icons on MAVERICKS.

Regards,

Feb 20, 2014 4:08 AM in response to donedamned

I have OS X 10.9 installed and I tried all the stuff metioned here, but the result is strange.


I run the terminal comand:

f=/System/Library/CoreServices/Dock.app/Contents/Resources/DockMenus; 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_FROM_DOCK</string></dict>'; sudo chmod 644 $f.plist; osascript -e 'quit app "Dock"'


I created a AppleScrict Script and put it to autostart

tellapplication "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

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

And I also used the Terminal command

killall Dock


At the end the Finder icon has the option to remove it from the dock, but there is still a glow that it's running, which is very ugly and moves if you open more apps as you can see in the screenshot. And the Scrict is always open after a restart of the laptop.


User uploaded file


Do you know how to remove this ungly Finder remains?

I appreciate any help 🙂

Mar 5, 2014 12:21 PM in response to Captain Apollo

Dear member,

How can I remove this hack (I am new on the mac world) ?


f=/System/Library/CoreServices/Dock.app/Contents/Resources/DockMenus; 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_F ROM_DOCK</string></dict>'; sudo chmod 644 $f.plist; osascript -e 'quit app "Dock"'


And how can I generally remove hacks ?

Is where perhaps one folder with installed hacks ?

Very very thanks for your answer.


Message was edited by: ClaudeFinder

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

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 ID.