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)
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)
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
Why would you want to?
To add to your excellent reply, the Desktop IS a Finder window. One and the same.
Thanks, Pal! That worked perfectly.
I am keep getting the exact same problem as Bodhisattvah... Any ideas?
+ I want to ask - is it problem if i forget to backup original dock file? I cant see why is it wrong.
Thanks alot.
Thanks you so much! 🙂
This solution doesn't seem to work with Mavericks. Any new suggested modifications for OS 10.9?
how can you disable this command?
remove Finder icon from Dock