The System theme is not respected
tio-trom opened this issue · 11 comments
Using Arch + XFCE via Manjaro. Touche version 2.0.2-1.
This is how Touche looks on my system:
The theme is not respected - I use a dark theme and Touche has a light theme. The window buttons are to the opposite side and they lack the maximize and minimize ones. This is a recent bug I think since it used to work well some 2 weeks ago.
Cheers!
This is expected on Flatpak apps:
https://docs.flatpak.org/en/latest/desktop-integration.html#theming
If you Google "flatpak themes" you'll find different guides about how to use your own theme.
To be honest, I have never applied a theme to a Flatpak application and I don't know if it is going to work, so do it at your own risk.
I am not using the flatpak version tho. Not from what I can tell. Manjaro has a reo package and a flatpak package. I have the repo one.
I have installed the AUR version https://aur.archlinux.org/packages/touche and I see them same issue. Are you saying that the AUR is using the flatpak?
Are you saying that the AUR is using the flatpak?
No, I'm not saying that, the AUR version uses the native package, I assumed you were using Flatpak because it is a known "issue" of the platform.
This is a recent bug I think since it used to work well some 2 weeks ago.
That's interesting, the AUR package was updated on 2021-11-28, so the application shouldn't have changed... Unless one of its dependencies has changed. Probably libadwaita.
Do you have the same problem with other GNOME apps?
No, all of the Gnome apps respect the theme. Gnome Calculator, Gnome Boxes, Gnome Photos, and so forth. Touche is the only "weird" one.
I believe those apps are not using libadwaita on Manjaro's repo. For the moment there is not much I can do until GNOME 42 enables a way to change between light and dark theme:
https://www.omgubuntu.co.uk/2021/10/gnome-42-dark-style-preference
Closing the issue for the moment, I'll have to revisit it on a couple of months to make sure dark theme works.
Just a question: does it mean that when the gnome apps will use libadwaita there is no way to respect the system theme, only toggle between light and dark?
Most likely, yes, but we will see how things evolve. In case you are curious, this is a good video explaining the situation:
https://youtu.be/Pdx_MwcMtnM
Ah I see, This is sad. And very backwards for the end user at least. Thank you for the link!
Just run into this problem as well, a quick-fix is to force the gtk theme by, for example, modifying the default .desktop
file shipped:
- Copy
/usr/share/applications/com.github.joseexposito.touche.desktop
to~/.local/share/applications/
- Change the line starting with
Exec=...
to:Exec=env GTK_THEME=Adwaita-dark com.github.joseexposito.touche
or to any other theme you have installed - Now you can start Touche from your launcher of choice, and it will the specified theme