Multicolored dark theme, matching Qubes OS domain colors

This is a collection of gtk themes I have made for Qubes OS, it has all the domain colors except for black and gray.

Example of what it looks like on my system

It’s a clone of the Nordic green theme, and the colors used are all from the Nord pallet.

The green theme is the original theme, and the other themes are single colored versions of the green theme. The art assets were converted with ImageMagick, but the original art uses transparency and is smoothed with antialiasing, so the converted assets look worse than the original.

Here is the script I use to configure my qubes using Gnome, it takes the color as an argument and sets up my fonts, icons and theme.


gsettings set org.gnome.desktop.interface gtk-theme "Qubes-$1"
gsettings set org.gnome.desktop.wm.preferences theme "Qubes-$1"
gsettings set org.gnome.desktop.interface icon-theme "Fluent-dark"

gsettings set org.gnome.desktop.interface document-font-name "Roboto 10"
gsettings set org.gnome.desktop.interface font-name "Roboto 10"
gsettings set org.gnome.desktop.interface monospace-font-name "JetBrains Mono 10"

cp /usr/share/themes/Qubes-$1/gtk-4.0/gtk.css /home/user/.config/gtk-4.0
cat /opt/user-scripts/qubes-gtk.css >> /home/user/.config/gtk-4.0/gtk.css

That last bit with copying /home/user/.config/gtk-4.0/gtk.css is needed on Gnome, else Nautilus breaks on the RC release. It takes the css file shipped with Qubes OS and adds it to the theme css.


Great, thanks, I like the idea of selection and other colors being coherent with qube color!

  1. I see a problem with windows captions: maybe it’s only me, but I cannot read them. Unreadable for all windows except the active one.

Alternative idea: maybe a light text border can be used for the active window caption, and no text border for other windows. I created and used such theme on Qubes OS R3, but then this behavior was broken by Qubes OS changes and I did not try to restore it.

  1. What is about high DPI screens? The only theme I can use in Qubes OS out of the box is “Default-xhdpi” because all other themes in XFCE were made for Tamagotchi screens. :slight_smile:

okay, second to last line it says file or directory not found…

The themes are meant to be used in the appvm, not dom0, the window frame and caption is controlled by dom0.

I use a theme in dom0 to make the entire window match the appvm theme, but you can use the standard dom0 themes if you want normal caption and colored borders.

I don’t know looks with high a dpi screen, I use 5760x1080 (3*1920x1080) native resolution without any scaling, and it looks okay to me. The art assets might not work well if they are scaled too much, the art conversion was as ghetto as can be.

@mikcor I have a copy of the original /home/user/.config/gtk-4.0/gtk.css in /opt/user-scripts, that file needs to be appended to the theme every time you change the color.

1 Like

Sorry, my bad, I misunderstood, thinking that the theme is meant for both usual qubes and dom0.