Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.4: Remove extraneous Dock menu options for folders Desktop
Tiger only hintA new feature in Tiger is that folders in the dock have some additional Dock Menu items. Well, I don't need a menu item for Remove from Dock, etc., and it just gets in the way of the items I want to select in my special folder (where I have aliases to numerous frequently used apps, directories, and what not).

Based on thjs older hint about removing items from the Apple menu, I did some sleuthing and found where those Dock menu items are spawned:
/System/Library/CoreServices/Dock.app/Contents/Resources/English.lproj/DockMenus.plist
Located therein are a number of items. The one I'm interested in is entitled folder.

In a text editor, it looks something like this:

  <key>folder</key>
  <array>
  <dict>
    <key>command</key>
          <integer>2000</integer>
     <key>separator</key>
        <true/>
  </dict>
  <dict>
    <key>command</key>
          <integer>1004</integer>
     <key>name</key>
     <string>Remove from Dock</string>
  </dict>
  <dict>
    <key>command</key>
          <integer>1034</integer>
     <key>name</key>
     <string>Open at Login</string>
     </dict>
  <dict>
    <key>command</key>
          <integer>1005</integer>
     <key>name</key>
     <string>Show In Finder</string>
    </dict>
  <dict>
    <key>command</key>
          <integer>2000</integer>
     <key>separator</key>
        <true/>
  </dict>
  <dict>
    <key>command</key>
          <integer>1000</integer>
     <key>name</key>
     <string>Open</string>
      </dict>
 </array>
I made a backup of this file, and then bravely deleted all but the last item (command/1000/name/Open), saved, restarted the Finder and Dock, and voilĂ , no more extra entries.
    •    
  • Currently 1.67 / 5
  You rated: 2 / 5 (3 votes cast)
 
[10,434 views]  

10.4: Remove extraneous Dock menu options for folders | 4 comments | Create New Account
Click here to return to the '10.4: Remove extraneous Dock menu options for folders' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Remove extraneous Dock menu options for folders
Authored by: xSmurf on May 03, '05 11:06:15AM

Ha! and I thought I was alone to feel these extra menu items where in the way! Many kudos for this simple, nonetheless usefull hint!

---
PM G4 DP 800 / 768Mb / 120Gb+80Gb /SuperDrive / SCSI: AGFA SnapScan 1236s / Jaz 1Gb / Zip 100Mb
- The only APP Smurf ;P



[ Reply to This | # ]
10.4: Remove extraneous Dock menu options for folders
Authored by: MartiNZ on May 04, '05 12:49:32AM

This is great. Now my dock is pretty much as it was in Panther :). I'm wondering if this can be used to add a 'Close' command to minimised windows? I see that there are settings for 'minwindow' in the .plist file ... hmmm!



[ Reply to This | # ]
10.4: Remove extraneous Dock menu options for folders
Authored by: deleted_user11 on May 09, '05 12:44:09PM

wheeeeee! this is a neat file to edit. very easy to figure out. other things you can do:

-remove more extraneous dock menu options, for applications as well as folders. (same procedure as in hint)

-add a "quit" command to the finder dock menu


		<dict>
			<key>command</key>
			<integer>1003</integer>
			<key>dynamic-break</key>
                        <true/>
			<key>dynamic</key>
			<integer>0</integer>
			<key>name</key>
			<string>Quit</string>
		</dict>

-add a "top" option to the dock position menu


				<dict>
					<key>command</key>
					<integer>1016</integer>
					<key>name</key>
					<string>Top</string>
				</dict>


[ Reply to This | # ]
10.4: Remove extraneous Dock menu options for folders
Authored by: robleach on Jan 26, '06 02:15:39PM

Hey,

Do you think this can be used to add say, applescripts (saved as applications) or other things to launch/run from an app's dock icon? What would the entry look like?

Rob



[ Reply to This | # ]