Make Krita look more Gnomish under Gnome

When running under Gnome, Krita’s UI looks a bit ungnomish, which nags me (I especially hate the window icons) and so I tried to make it look more like Gnome. Since it took me two evenings to achieve this (it’s not straightforward), I thought I’d share how to do it.

Note that this is not an “officially supported” way to run Krita (i.e. you may run into some UI problems).

You first need to (1) install adwaita-qt. Then you need to (2) launch krita with additional parameters.

(1) Install adwaita-qt

This might be in your package manager. For me, on Manjaro Linux, it wasn’t and I had to build it from scratch. here are the steps:

sudo pacman -Sy base-devel cmake

git clone https://github.com/FedoraQt/adwaita-qt
cd adwaita-qt
mkdir build
cd build
cmake ..
make
sudo make install

(2) Launch Krita

You need to run:

export LD_LIBRARY_PATH=/usr/local/lib	
export KRITA_NO_STYLE_OVERRIDE=1
krita -style adwaita-dark

For some reason LD_LIBRARY_PATH is necessary, otherwise the style .so is not found.

Also note that krita must have been installed via your package manager (or built on your system). Running an appimage or a flatpak won’t work, since they will look for their style files in other locations.

So here are the results.

Krita on Gnome with default Darker Theme:

Krita with changes described above:

3 Likes