costales / folder-color

Folder Color for Linux file browsers
GNU General Public License v3.0
88 stars 13 forks source link

Nautilus doesn't show custom icon from inherited #21

Closed costales closed 11 months ago

costales commented 1 year ago

Affected version

Ubuntu 22.10, Nautilus 43

Steps to reproduce

  1. Install package yaru-icon-theme
  2. Set icon theme: gsettings set org.gnome.desktop.interface icon-theme 'Yaru-red'
  3. Set folder Music to custom icon: gio set -t 'string' /home/costales/Music 'metadata::custom-icon-name' 'folder-blue'

Current behavior

Icon for that folder doesn't change, I think because Yaru-blue inherits from Yaru and there is a bug in Nautilus.

Expected behavior

Icon for that folder should change.

Additional information

image

surfzoid commented 1 year ago

Hi, i think nautilus search icon in /usr/share/icons/hicolor/XXxXX/place

surfzoid commented 1 year ago

metadata::icon-name' 'folder-brown-music'

surfzoid commented 1 year ago

looks like caja and nautilus doesn't support metadata::custom-icon-name at all, only metadata::custom-icon

surfzoid commented 1 year ago

patch : https://pastebin.com/u17Lbttr and to disable warning about strict version of nautilus https://pastebin.com/KVSwX7JT

costales commented 1 year ago

Thank you for your investigation!!

I'm not happy setting all the icons to a filename path instead of a icon name... IMHO This should be fixed by GNOME and not from extensions. Then, I'll wait a few releases if they fix this or not (sometimes is a bug from first releases).

Thank you again and best regards.

costales commented 1 year ago

Send to GNOME https://gitlab.gnome.org/GNOME/nautilus/-/issues/2951

costales commented 11 months ago

Fixed from GNOME: https://gitlab.gnome.org/GNOME/nautilus/-/issues/2951#note_1937587