Kolourpaint is missing icons in the tools pane on Ubuntu 20.10 when installed using sudo apt install kolourpaint.
Is there a solution that does not require using the snap version or changing the system icon theme?
Kolourpaint is missing icons in the tools pane on Ubuntu 20.10 when installed using sudo apt install kolourpaint.
Is there a solution that does not require using the snap version or changing the system icon theme?
You have to install the default Plasma theme meta-package called breeze with
sudo apt-get install breeze
and then restart KolourPaint application.
Minimally installing just the breeze-icon-theme also works.
sudo apt-get install breeze-icon-theme
qt5ct must NOT be installed. If you are having this issue in kolourpaint, install breeze as shown above, and be sure to execute sudo apt autoremove qt5ct.
– Enterprise
Dec 26 '20 at 18:04
qt5c installed so i don't think that's a problem) but I still don't see the icons!
– Michael
Aug 16 '21 at 16:04
Installing breeze did not fix my problem. I had to install kolourpaint using snap:
sudo snap install kolourpaint
I then had to uninstall kolourpaint using apt-get:
sudo apt-get remove kolourpaint
That brought the icons back.
Not sure for Ubuntu with GNOME Desktop, but similar problem can be fixed with Kolourpaint in Kubuntu 22.04 by installing every icon theme available (just to be on a safe side) and by running it with empty XDG_CURRENT_DESKTOP and QT_QPA_PLATFORMTHEME.
sudo apt install *icon-theme*
XDG_CURRENT_DESKTOP="" QT_QPA_PLATFORMTHEME="" kolourpaint
EDIT: made laucher script because
Exec=env XDG_CURRENT_DESKTOP="" QT_QPA_PLATFORMTHEME="" kolourpaint %uin
.desktopfile didn't work when "open with" was used.
And most people run it mostly from .desktop file, that is from start menu or "open with" dialog and such, we can first make simple script to run with emptied env vars:
sudo tee /usr/local/bin/kolourpaintstarter.sh <<'EOF' >/dev/null
#!/bin/bash
export XDG_CURRENT_DESKTOP=
export QT_QPA_PLATFORMTHEME=
kolourpaint "$1"
EOF
sudo chmod +x /usr/local/bin/kolourpaintstarter.sh
/usr/share/applications/org.kde.kolourpaint.desktop as well, replacing line
Exec=kolourpaint %u
with
Exec=/usr/local/bin/kolourpaintstarter.sh %u
P.S.
That way we can avoid snap. I personally just don't like non-open app distribution platform, and there's no readily available AppImage build for Kolourpaint
dpkg -L kolourpaintto see what files came with the package. – waltinator Dec 25 '20 at 20:12diffbetween the output and the official list of files included with this package at https://packages.ubuntu.com/groovy/amd64/kolourpaint/filelist and they are exactly the same. – Enterprise Dec 25 '20 at 21:07