https://bugs.kde.org/show_bug.cgi?id=316610

--- Comment #5 from Méven Car <[email protected]> ---
(In reply to Méven Car from comment #4)
> > I'm wondering where Gnome stores the information about the icon assigned to 
> > a specific file and how it keeps track of it when moving/renaming the file.
> 
> > Does anyone have details on this?
> 
> This is very likely saved in extended attributes.
> You can use `getfattr -d -m '' -- path` to check what is saved there.
> 
> If that's the case dolphin could reuse the same settings.

Nautilus stores those in  ~/.local/share/gvfs-metadata/
 Inspect / set from the CLI (via gio, part of glib):
gio info -a "metadata::*" /path/to/file        # show custom-icon, emblems,
etc.
gio set /path/to/dir metadata::custom-icon "file:///path/to/icon.png"
gio set /path/to/file metadata::emblems emblem-important emblem-favorite

That wouldn't be easily shared.

I mean to move directory icons to filesystem metadata, then files could benefit
from the same feature exactly.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to