fix: regenerate all icon caches, not just 4 hardcoded themes #3
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "fix/xfce-icons-and-visuals"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Root cause: three failures affecting XFCE icons on live USB
Tested on AMD hardware with the 2026-06-01 build — icons still missing despite
dynamic icon cache regeneration. Further live-session diagnostics revealed:
1. XFCE plugins reject absolute icon paths
button-icon="/usr/local/share/clawdie-iso/icons/clawdie-start.png"— absolutepaths are silently rejected by XFCE panel plugins. The Whisker menu falls back
to a broken/missing icon glyph.
Fix: Changed to themed name
clawdie-startinxfce4-panel.xml.2. Brand icon not in hicolor theme directory
The clawdie-start PNG/SVG were only installed to
/usr/local/share/clawdie-iso/icons/. XFCE icon theme lookup scans standardtheme directories:
hicolor/48x48/apps/,hicolor/scalable/apps/, etc.Fix:
build.shnow installs clawdie-start.png into bothhicolor/48x48/apps/andhicolor/64x64/apps/, and clawdie-start.svg intohicolor/scalable/apps/, then runsgtk-update-icon-cacheon hicolor.3. XFCE runtime state creation overrides skeleton config
On first boot xfdesktop creates monitor-specific backdrop keys that don"t exist
in the skeleton XML. Result: default wallpaper shown instead of Clawdie branding.
Fix: Added
clawdie-xfce-visuals-guard.sh— a best-effort autostart scriptthat re-applies theme, panel (icon/branding), and wallpaper settings at 3, 7,
and 15 seconds after login. Catches keys created during the startup race.
Dynamic icon cache (previous fix, retained)
The earlier commit"s
for _icon_theme_dir in icons/*/scan is retained — allinstalled icon themes get their cache regenerated, including hicolor (which
pcmanfm/xfce4-terminal/firefox depend on for launcher icons).
Verification
sh -non all touched shell scriptsgit diff --checkwhitespace cleanPull request closed