Can't get the theming right for flatpaks in plasma

I have followed the following how-to written by @linesma

but it doesn’t seem to get it right for my flatpaks. Not sure if something has changed since the how-to was written. Would appreciate to get some help to make this work.

This is the content of ~/.config/gtk-3.0/settings.ini:

gtk-font-name=Noto Sans,  10

Something you could consider and try is what toolkit is the flatpak app using and if Gnome 42 updates might break it.
Do you use any flatpak gtk3/4 theme?

Maybe add gtk-4.0 as well?

This is depreciated in Gnome 42 (produces log messages in my journal). I have deleted this setting in my config files.

1 Like

Thanks for the reply @petsam!

Sorry for my lack of understanding but is this relevant for Plasma as well?

In Gnome, I have no issues with the theming after the upgrade to 42.

These are the themes currently installed in Gnome 42:

Adwaita dark GTK theme                            org.gtk.Gtk3theme.Adwaita-dark                                                    3.22              system
Arc-Dark Gtk theme                                org.gtk.Gtk3theme.Arc-Dark                                                        3.22              system
Breeze GTK theme                                  org.gtk.Gtk3theme.Breeze                                                          3.22              system
Mint-Y-Dark-Aqua Gtk Theme                        org.gtk.Gtk3theme.Mint-Y-Dark-Aqua                                                3.22              system
Mint-Y-Dark-Grey Gtk Theme                        org.gtk.Gtk3theme.Mint-Y-Dark-Grey                                                3.22              system
Mint-Y-Dark-Pink Gtk Theme                        org.gtk.Gtk3theme.Mint-Y-Dark-Pink                                                3.22              system
Mint-Y-Dark-Purple Gtk Theme                      org.gtk.Gtk3theme.Mint-Y-Dark-Purple                                              3.22              system
Mint-Y-Dark-Teal Gtk Theme                        org.gtk.Gtk3theme.Mint-Y-Dark-Teal                                                3.22              system

Also forgot to tell in OP that I had already added the settings.ini for gtk-4.0 as well. But to no avail.

It’s relevant to gui toolkits (gtk2/3, qt5/6, etc), though here your gtk theme (in flatpak).
AFAIK and IIRC, you might install a gtk theme of type flatpak (unless this is for snaps… :thinking: :joy: ).
Edit: It seems there are flatpak themes. Maybe find one that does the job?

Anyway, if the flatpak app uses qt, then you need to fix flatpak qt theming. If gtk, the gtk. At least this is how I understand it. I have not played enough with flatpaks :person_shrugging:

1 Like

Thanks for the explanation!
I feel I have to dig a bit deeper into how everything comes into play in flatpaks.

Alright. I will have to find out what toolkit is used in each of the flatpaks I have installed.

Thanks again for your explanations and hints! Now I know where to start.