So i installed minimal Manjaro and have installed Flatpaks and those wont respect my systems theme. I don’t even have the option for the theme for example in OBS.
Is there something i can do about it? I have tried searching for it in the internet, but i haven’t yet found anything that works.
I already searched Arch wiki. It just recommends you to add overrides for .themes folder and .icons folder which both don’t even exist on Manjaro. Also the QT app guides don’t work.
The main problem remains in that Flatpak, like all so-called containerised applications/packages are by their very nature isolated from the system.
Whatever theme is defined within the package is generally what you get, unless the author has taken the time to include theming for every contingency.
When containerised apps are ‘installed’, a desktop file might be added to the menu to run it, but as far as other integration is concerned, that’s about the extent of it.
These are some of the tweaks that might be added. Perhaps the author of whatever Flatpak is concerned might be able to better explain things in relation to that package.
Flatpak applications cannot directly use the system theme from the host as the /usr directory inside the sandbox is reserved by the runtime, and host’s /usr where system themes are typically stored cannot be made available over that. Additionally, themes often depend on specific toolkit versions, which may differ between the host and the runtime. Relying on the host to have the correct version for every flatpak also defeats the portability benefits Flatpak provides.
The solution to this is to package the themes as flatpaks. These themes are provided as Extensions to the Freedesktop runtime for Gtk3 themes and to the KDE runtime for Qt themes.
Icons
Since Flatpak 0.8.8, host icons from /usr/share/icons are exposed in the sandbox at /run/host/share/icons and $XDG_DATA_HOME/icons in /run/host/user-share/icons.
That answer assumes that you do have your themes and icons in those directories - which is not the case when you use the themes and icons that come with the Manjaro installation.
These are in /usr/share/themes and /usr/share/icons.
In $HOME/.icons and $HOME/.themes you can put themes and icons that you don’t want to be available system wide, but just for this particular user.
… simply create these folders and put the themes / icons there
That is correct. This will be the same for many Linux distributions and it is not a flaw.
A skeleton home is provided in /etc/skel. Such skeleton does NOT contain each an every possible file an folder which may or may not exist in any given user’s home at any point in time.
If you see references to such folders - you simply create them and populate them with the necessary files and folders.
With regards to the minimal ISO, there is a reason it is labelled minimal.
The minimal system will always need additional user configuration to achieve the desired result.
I don’t have any .themes or .icons folder on KDE Minimal Manjaro install. I also tried copying the folders and giving those permissions, but that did not also work.
Those directories don’t exist by default, but you can create them and you can put themes in them. It’s how users can add their own themes.
No, I would expect not. It’s a configuration issue, you haven’t configured things yet.
You have to create the directories, put your themes in them, configure flatpak to have access to the directories and then configure flatpak to use the themes that you want.
Before with full install of Manjaro i had theming done for QT apps out of the box with Flatpak. With that guides QT settings don’t do any theming whatsoever. Even though when i delete the kvantum Flatpak install it says that it’s used by OBS.
Could it be that something has changed in Manjaro that prevents the theming? Cause before i could have the theming applied with no configuration at all for QT apps.
Not using Flatpaks is not really an option for me on Manjaro cause OBS lacks VAAPI for the repo install, also glibc breakage with EAC games with Steam is prevented by the use of Flatpak.
You should adapt the advice given in that guide - link to your system themes and icons instead
or just copy them there … now you will have unnecessarily duplicated the content, but the guide will work as is
I have followed the guide. Seems like there is no GTK theme for Manjaros Breathe dark theme so nothing to go from there. QT app guide still doesn’t work for OBS. The guide works probably, but not for Manjaro. Even if i set breeze-dark theme, Flatseal will still show me white theme of Adwaita.