Where do I find the icon of the Sites Directory in Lion?

4

1

Just like my other special folders, I wish to give my Sites folder a special icon.

Lion doesn't create a Sites folder like Snow Leopard did -- which means that you have to do it yourself. This is fine, but I can't find the good old fashioned "Sites" icon that I'm used to! It's just blank now.

Where can I find the Sites icon and how can I get it attached to the Sites folder?

EDIT: Turns out you CAN create a Sites folder in Lion, just takes an extra step (you have to click "Create User Folder" in the Web Sharing system panel). Nevertheless this question applies generally to creating folders with systems icons that aren't already being used in an easy to discover location.

slifty

Posted 2011-08-26T20:37:39.230

Reputation: 1 569

Answers

3

EDIT: Please see the OP's edit. It turns out Lion can create the Sites folder for you if you tell it to.

The Sites Icon is still in Lion, just not used. It's located at:

/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/SitesFolderIcon.icns

I made a mistake the first time - as slifty generously noted, copying icons from Preview doesn't grab all their sizes (so they aren't optimized for display at certain sizes).

The goal is to get the icon into a copyable space (from the get info window, see the last image). One way to do that from an .icns file is to copy an application to the desktop (any will do), right click/show package contents, navigate to resources and replace its icon.

For instance, here is a screenshot of replaceing a copy of Adobe Distiller's icon:

enter image description here

After replacement, the temporary Adobe Distiller's Get Info window looks like this:

enter image description here

From which you can copy paste a legit version of the icon to wherever you want it.

To attach icons to a folder, open the get info prompt of an item, highlight the icon, and paste (the Sites icon which is on your clipboard). This apple support doc explains it.

enter image description here

As shown, the icon is highlighted, and replaceable. You see the icon selected in the get info window. When selected, you can paste a new icon in or copy the current one to place it somewhere else.

Vervious

Posted 2011-08-26T20:37:39.230

Reputation: 4 654

Many thanks -- now I just need to find the actual icon... – slifty – 2011-08-26T21:12:23.623

I literally just updated it seconds ago! :) – Vervious – 2011-08-26T21:17:00.533

1YAY! Thanks :). Important note, if you have a chance to update. Your instructions will only copy the large version. List views in Finder will show a shrunk version of the large, rather than showing the actual small icon (i.e. the borders of the folder won't be defined like other folder icons). This means that you actually need to do a dirty dirty hack. Copy an application to desktop (say, Stickies). Right click -> View package contents. Navigate to resources. Copy the icon you want to replace the app's icon. Then the application will show that icon and you can do the info copy style. – slifty – 2011-08-26T21:45:54.997