Why aren't my GTK3 apps applying styles from gtk.css?

November 26, 2025 1 answer
Asked by parcel_scale_
I'm having an issue with GTK3 applications ignoring the styles defined in my gtk.css file while GTK4, Qt5, and Qt6 apps are working just fine. I even tried using GTK_DEBUG=interactive with Thunar to force the CSS to apply, but it still doesn't seem to work. Any ideas on what might be going wrong?

Answers

~not a shortcut
First off, make sure you're using the correct path for your gtk.css file. It should be something like ~/.config/gtk-3.0/gtk.css. Also, double-check the CSS changes you're trying to implement to ensure the syntax is accurate for GTK3. Sometimes a small typo can mess things up!

parcel_scale_: I checked and I'm using the default GTK template from the Matugen repo, and the path is definitely correct. I even simplified my CSS like this: `* { background-color: #ff0000 !important; }` but it still isn't applying.

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions