Hardcoded Folder Icons in macOS
weblog.antranigv.am
Hardcoded Folder Icons in macOS
1–10 of 130 posts
Re: Hardcoded Folder Icons in macOS
#21) Navigate in the Finder to /System/Library/CoreServices/
2) Open "CoreTypes.bundle" by right-clicking it and selecting "Sow Package Contents" from the centext menu, then open the "Contents" folder, then "Resources"
3) There they are! Find a suitable icon (preview either with "Get Info" or by double-clicking, which will open them in Preview)
4) In a second window, navigate to the folder you want to decorate.
5) Select it and open its file info with "Get Info" (either using Command + I, the context menu, or "Get Info" in the "File" menu)
6) Drag and drop the .icns file onto the little icon at the top left. (Not onto the big preview.) You have now successfully copied the icns resources.
To revert to the default icon, just select the small icon in the file info and hit delete.
Re: Hardcoded Folder Icons in macOS
#3If you want to use any of these, 1) Navigate in the Finder to /System/Library/CoreServices/ 2) Open "CoreTypes.bundle" by right-clicking it and selecting "Sow Package Contents" from the centext menu, then open the "Contents" folder, then "Resources" 3) There they are! Find a suitable icon (preview either with "Get Info" or by double-clicking, which will open them in Preview) 4) In a second window, navigate to the fol…
Unfortunately, even if you set a custom icon for a folder, it'll still show as default icon in the sidebar. I wanted to give my ~/dev sidebar entry the developer icon, but sadly it seems to be hardcoded ~/Developer indeed.
Re: Hardcoded Folder Icons in macOS
#4Oh, I didn't realize that. Seems like a strange choice?
Re: Hardcoded Folder Icons in macOS
#5> If you’re new to macOS, this is a kindly reminder that macOS ships with Apache2. Oh, I didn't realize that. Seems like a strange choice?
Re: Hardcoded Folder Icons in macOS
#6> If you’re new to macOS, this is a kindly reminder that macOS ships with Apache2. Oh, I didn't realize that. Seems like a strange choice?
Re: Hardcoded Folder Icons in macOS
#7> If you’re new to macOS, this is a kindly reminder that macOS ships with Apache2. Oh, I didn't realize that. Seems like a strange choice?
Until Mojave it came with PHP. It's probably a relic of a time when installing runtimes/system software wasn't as easy.
Re: Hardcoded Folder Icons in macOS
#8> If you’re new to macOS, this is a kindly reminder that macOS ships with Apache2. Oh, I didn't realize that. Seems like a strange choice?
I can't exactly find if it came with OS X since the beginning (which would predate nginx and friends), but it probably was a much more likely choice back in the day, and I guess that's why it's still included. Wouldn't be surprised to see it quietly disappear from later macOS releases, though.
Re: Hardcoded Folder Icons in macOS
#9Earlier quoted context omitted.
Until Mojave it came with PHP. It's probably a relic of a time when installing runtimes/system software wasn't as easy.
It also used to come with twisted preinstalled back when it still shipped with python2.
Re: Hardcoded Folder Icons in macOS
#10> If you’re new to macOS, this is a kindly reminder that macOS ships with Apache2. Oh, I didn't realize that. Seems like a strange choice?
It's been in macOS for quite some time. Mostly dormant now but at one point it was what powered the Web Sharing option in the Sharing prefpane. It was also used in OS X Server (both the OS X versions designed for Xserve and the later "app" version) before that was largely whittled away. I can't exactly find if it came with OS X since the beginning (which would predate nginx and friends), but it probably was a much mo…