https://bugzilla.xfce.org/show_bug.cgi?id=14576

--- Comment #10 from alexxcons <[email protected]> ---
I am not saying that setting the icon manually should be the only option. Just
think it should be the default option.

But you are right that this is only a nice add .. .the cherry on the cake.
Primary goal should be to allow custom-icons at all.


Meanwhile I looked a bit further into the nautilus way of doing things.

In "nautilus-file.c" there is a method "get_custom_icon(..)".  A bit more
digging reveals that nautilus uses the metadata of gvfs(
https://en.wikipedia.org/wiki/GVfs or https://wiki.gnome.org/Projects/gvfs ) to
store the path to the custom icon. I think that is a very nice approach.

Thunar anyhow relies on gvfs if it comes to trash-support, removable media or
remote file systems .. so IMO good to use the same standard to save
file-specific meta information. 

You can read all metadata e.g with "gvfs-info -a metadata::*". After setting a
custom-icon with nautilus it is shown there.

And there is "gvfs-set-attribute", so I guess your use-case should be covered,
you can script it for huge folder-trees.

So I would strongly prefer to use gvfs to store file-specific metadata over
using folder.jpg

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Xfce-bugs mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce-bugs

Reply via email to