Live data from Hacker News

Hardcoded Folder Icons in macOS

weblog.antranigv.am

61–70 of 130 posts

Re: Hardcoded Folder Icons in macOS

#61
post #2

If 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…

You can also press Shift + Command + G and paste /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/ to go there directly. 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.

> Unfortunately…

Yes, this is a favorite petty grievance of mine: this used to work until some years ago and it was very helpful for quickly navigating to key folders, like those used for your current project, as you hadn't to actually read the sidebar items. For another few OS iterations this could be fixed by add-ons, but then this also wasn't an option anymore. (Apple really invested into making this not an option. I guess, this coincided with Jonathan Ive's takeover of interface design, when clean looks according to design templates became more important than usability.)

Re: Hardcoded Folder Icons in macOS

#62
post #21

Developer is a weird string choice though, why not Development or Code. It would be like MS naming its product VS Coder (lol)

Compare: the Scheme language was supposed to be called Schemer, but filename length limitations back then prevailed.

As was Forth – it indended name was “Fourth”.

Re: Hardcoded Folder Icons in macOS

#63
post #56
post #32

Earlier quoted context omitted.

Please stop describing something I remember experiencing like yesterday the same way they talk about ox ploughs at a pioneer village museum.

Now, we’re didn’t have Bluetooth back then like you do today, so we used to plug our headphones in through that little hole you see on the side of every computer. I bet you've always wondered what that hole was for! We used to have them on our phones, too, only back then they didn't have wifi and we called them iPods...

“The dinosaurs of our youth had mounted pigeon boxes below the saddle. Messages could be exchanged on the go through…”

Re: Hardcoded Folder Icons in macOS

#64
post #41

Earlier quoted context omitted.

You can also press Shift + Command + G and paste /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/ to go there directly. 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.

> You can also press Shift + Command + G Ok, after 10 years of Mac OS, I'm only learning this right now?? And I'm stupid because it's right there in the "Go" menu… I used to just launch a terminal and use the "open" command… Many thanks for this.

So many applications and such have shortcuts that are quite useful but hidden. It can be worth a few minutes crawling through the menus and accessibility settings.

The one I like is you can universally change the short cut for paste so that “paste without formatting” is the default CMD-V

Re: Hardcoded Folder Icons in macOS

#68
post #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?

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…

I feel like it dates from earlier internet, before the age of walled garden takeover, when it still seemed like a decentralized internet would be the thing, and everyone would be, like, using a desktop GUI to create html or something. Of course everyone should have a webserver on their machine, right?

Apple was ahead of the curve on something that never arrived and many of us still miss.

Re: Hardcoded Folder Icons in macOS

#69
post #2

If 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…

[deleted]
Post reply on HN