Skip to main content

How Mac OS Associate System Folder with Special folder Icon [Resolved]

I just ran into this question. I think there must be a plist file or something similar. Here is what I found:

  1. When customizing a plain folder with my own icon file, there is an invisible file created in the folder called "Icon^M", which I think is a kind of icon file?

  2. But system "special" folder like /Applications, /Users/Documents, and so on, do not have this kind of file in it, and are displayed as special icons instead of stock plain blue icon.

So, how does Apple associate special folders and their special icons? I think there is some system plist file to associate these two, like:

< key >/User/Documents< /key >
< value >pathToIcon or binaryRepOfFileAndPath< /value >

Where can I find the file? Thank you!

Question Credit: Zhigang An
Question Reference
Asked February 11, 2019
Tags: finder, icon
Posted Under: Apple
2 Answers

The special folder .icns files, e.g for Applications, Library, System and User, etc. are stored in /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources and the info.plist file to control these is /System/Library/CoreServices/CoreTypes.bundle/Contents/Info.plist.

credit: user3439894
Answered February 11, 2019

that's not what he's trying to do though. He's trying to get the sidebar version of the blue developer folder to be a solo developer logo just like all the other main folders have their own off-folder logo.

credit: fenkoff
Answered February 11, 2019
Your Answer