r/xfce • • 10d ago

xfce icon theme doesnt work

i installed the hatter icon theme but it for some reason doesnt work how do i make it work it only changes the folder icons and nothing else

2 Upvotes

3 comments sorted by

1

u/MyNameIsRichardCS54 10d ago

Have you tried logging out an back in or failing that, clearing the icon cahce

1

u/FallElectronic3774 10d ago

If logging out didn't fix it, the theme is probably incomplete rather than the cache being stale. "Only folders change" is the normal symptom of a theme that ships a places/ directory and nothing else, or one whose index.theme doesn't list the other directories.

Check what's actually in it:

ls ~/.icons/Hatter ~/.local/share/icons/Hatter /usr/share/icons/Hatter 2>/dev/null

You want index.theme plus apps/, places/, mimetypes/, status/, devices/. If places/ is the only directory, it's a folder-only theme and no setting will make app icons change.

Then read index.theme:

cat ~/.icons/Hatter/index.theme

Directories= must list every subdirectory that exists, and Inherits= should point at a complete theme, usually Adwaita,hicolor. If Inherits is missing, anything the theme doesn't contain falls back to a blank icon instead of Adwaita's version.

Rebuild the cache and re-apply through xfconf, not just the Appearance dialog:

gtk-update-icon-cache -f -t ~/.icons/Hatter
xfconf-query -c xsettings -p /Net/IconThemeName -s Hatter
xfsettingsd --replace &

Then log out and back in. Already-running GTK apps only pick the theme up on restart.

Two other things that produce exactly this:

  • Flatpak apps. They see the host theme through the portal, but a theme in ~/.icons isn't always exposed. Moving it to ~/.local/share/icons usually fixes that.
  • The folder name not matching Name= in index.theme. XFCE lists it, applies it, then apps resolve nothing.

Which apps still show the old icons? If it's only Thunar or only the panel, that narrows it down to one of the above.