I'm trying the very nifty new ctypes-based Python binding to FUSE by
Giorgos Verigakis (http://code.google.com/p/fusepy/) with MacFUSE, and
am at the point of wanting custom folder icons.  It's a bit tricky
getting custom icons for files; you have to generate a valid OS X HFS+
resource fork containing the icon in Apple's '.icns' format, a format
not supported in many image processing suites, and pass it back in
response to getxattr(*, 'com.apple.ResourceFork').  But I've got that
working.  Will that also work for folders?

I've been told that the way to do it with folders is different; you
create a file called 'Icon\r' (yes, containing a carriage return), and
put it in the folder, to give a folder a custom icon.  I find that
hard to believe...

Thanks for any tips.

Bill
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MacFUSE" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/macfuse?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to