Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

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.

share|improve this answer
    
Many thanks -- now I just need to find the actual icon... –  slifty Aug 26 '11 at 21:12
    
I literally just updated it seconds ago! :) –  Vervious Aug 26 '11 at 21:17
1  
YAY! 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 Aug 26 '11 at 21:45
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.