sudo touch /usr/share/icons/hicolor
sudo gtk-update-icon-cache
based on: https://old.reddit.com/r/bedrocklinux/comments/llt5pp/buggy_icons_from_other_stratums_in_gnome/gnuo7tv/
i.e. some stuff and junk about Python, Perl, Matlab, Ruby, Mac X, Linux, Solaris, ...
sudo touch /usr/share/icons/hicolor
sudo gtk-update-icon-cache
session=startfluxbox
securitytypes=none
geometry=2000x1200
localhost
alwaysshared
ACCEPT_LICENSE="*"
sudo genlop -u
distrobox create -i archlinux -n abox -H ~/home-abox && distrobox enter abox -- bash -c "sudo pacman -Sy --noconfirm git base-devel && git clone https://aur.archlinux.org/yay-bin.git /tmp/yay-bin && cd /tmp/yay-bin && makepkg -si --noconfirm && rm -rf /tmp/yay-bin"
/run/current-system/sw/bin/distrobox-enter -n abox -- bash -c 'env GTK_THEME=Adwaita:dark ICON_THEME=Papirus QT_QPA_PLATFORMTHEME=qt6ct krusader -qwindowtitle %c %u'
If you run a KDE application (like Krusader) inside a Distrobox container on an XFCE host with a dark theme, you might notice that the icons are dark and nearly invisible against the dark background. This happens because the app inherits a mismatched icon theme from the host, and no Qt platform theme manager is configured inside the container.
First, enter your container and install the required packages:
distrobox enter abox
sudo pacman -S papirus-icon-theme qt6ct
Note: check whether your KDE app links against Qt5 or Qt6 before choosing between qt5ct and qt6ct:
ldd $(which krusader) | grep -i qt
Next, tell Qt to use qt6ct as the platform theme. In fish shell, set it as a universal variable so it persists across sessions:
set -Ux QT_QPA_PLATFORMTHEME qt6ct
Then configure the theme and icons by editing the qt6ct config directly:
mkdir -p ~/.config/qt6ct
cat > ~/.config/qt6ct/qt6ct.conf << 'EOF'
[Appearance]
icon_theme=Papirus-Dark
style=Breeze
EOF
Finally, set up kdeglobals so KDE apps pick up the correct color scheme and icon theme:
cat > ~/.config/kdeglobals << 'EOF'
[General]
ColorScheme=BreezeDark
[KDE]
widgetStyle=Breeze
[Icons]
Theme=Papirus-Dark
EOF
Open a fresh container session and launch your KDE app — the icons and theme should now render correctly.
sudo xbps-install -S hplip
sudo ln -s /etc/sv/cupsd /var/service
sudo sv status cupsd