How to use the system GTK theme via the gtk-common-themes snap

I’ve implemented a demonstration snap with some improvements and also uses the desktop-gtk3 remote part:

@jamesh @degville Would you mind setting this topic as a wiki?

This topic is now a wiki. Thanks!

1 Like

i made a content snap which basically packs qt5 runtime in it (desktop-qt5 dump), i made a consumer app and added slot of gtk-common-themes in it , my app launch just fine but won’t use theme. what’s wrong ?

It’s a bit hard to tell without more details. Can you tell if the app is running with the libqgtk3.so platform theme plugin?

here is link to seperate thread i have created:

hey @jamesh , by any chance you know if it would be a lot of work to make this work for gtk2?

This is a tutorial for getting system themes working with GTK+ 2 applications: https://snapcraft.io/docs/gtk2-applications

Is this what you are looking for, @knocte?