Flatpak GTK apps not follwing the chosen GTK theme.
Hello. I'm using Debian testing with KDE Plasma 5.27. I'm experiencing a problem where GTK Flatpaks are not following the chosen GTK theme despite giving them permissions to access .themes and .icons folders found in the home directory. I tried the running the following commands in the terminal:
I even tried to specify a certain GTK theme to be chosen, that resulted in the flatpak changing to an ugly white-adwaita theme. I should note that this is happening exclusively with GTK Flatpaks, QT Flatpaks and GTK deb packages don't seem to have this problem. What am I missing here? Any help would be appreciated.
Apparently there has been a problem with gtk4 apps and theming in flatpak, only supporting adwaita light and dark - only found vague reference to it though, nothing concrete.
Try
flatpak-metadata sockets
To see if you can find the GTK_THEME environment variable.
You’ve given it permission to access the themes folder, now you need go point it at the themes