Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GTK4? #2

Open
cryptoquick opened this issue May 25, 2022 · 8 comments
Open

GTK4? #2

cryptoquick opened this issue May 25, 2022 · 8 comments

Comments

@cryptoquick
Copy link

For some reason, in one of the more recent version of GNOME, I can't pick this as a modern theme, it's only for legacy applications, so things like GNOME System Monitor display in the fugly Adwaita theme instead of the sleek, retrofuturistic stylings of this blackout theme. Is there anything that can be done for compatibility with newer apps?

@Elbullazul
Copy link
Member

What distro are you on? It may be because the system monitor app is installed as a flatpak

@cryptoquick
Copy link
Author

I'm using Arch. It came installed with gnome using pacman.

@Elbullazul
Copy link
Member

You can try these commands and see if it works

@cryptoquick
Copy link
Author

While I have flatpak installed, I tried running flatpak run --command=bash org.gnome.Calculator, and got this:
error: app/org.gnome.Calculator/x86_64/master not installed
I do have Calculator installed, so I'm guessing that Arch installed it without using Flatpak
After running flatpak list, it's completely empty.
I don't think this is a flatpak issue. If I had to guess, maybe something changed in GTK4 that leaves apps like Calculator and System Monitor unaffected by user styles somehow? Maybe it has to do with dark mode. Not sure.

@Elbullazul
Copy link
Member

I think those apps may use libadwaita. I currently don't know how to change themes for apps using that library

@cryptoquick
Copy link
Author

Good thinking. I looked into it a bit, and I was able to use this hack to get it to work on some apps:
https://www.reddit.com/r/gnome/comments/v1aw6k/themeing_libadwaita_a_tldr/

Also, there was no gtk4 folder, only gtk3, but it seemed to work fine when I just renamed it.

So far it works on Calculator and Disk Usage Analyzer, but it looks really ugly:
Screenshot from 2022-08-06 12-38-07
Screenshot from 2022-08-06 12-38-27

It does not work, however, on System Monitor or Nautilus, like it used to.

@Elbullazul
Copy link
Member

Elbullazul commented Sep 7, 2022

well, at least some parts work 🙃

will see what happens next, probably another rewrite, or a rebase on adwaita/yaru

@cryptoquick
Copy link
Author

I'd be super grateful! The Adwaita design is super fugly to me 😹

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants