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

CPU-X Appimage can't follow the system theme. #323

Closed
Samueru-sama opened this issue Feb 23, 2024 · 2 comments
Closed

CPU-X Appimage can't follow the system theme. #323

Samueru-sama opened this issue Feb 23, 2024 · 2 comments

Comments

@Samueru-sama
Copy link

Describe the bug
Before CPU-X would just follow the system theme without issues, never had to interviene to get it to do that.

Additional information

  • Operating system name and version: Arch Linux
  • CPU-X installation type: Appimage and also tried two aur packages.

I also tried using the aur packages, cpu-x-bin and cpu-x-git, cpu-x-bin is broken and wont start.

However the issue is not present when using the cpu-x-git package, this one doesn't have the broken theme.

I don't know if I'm just making stuff up, I've had had the appimage for a few months and I don't remember having issues with the theme before.

@Samueru-sama
Copy link
Author

I found the issue after inspecting the appimage:

The appimage determines the theme to use by reading gsettings get org.gnome.desktop.interface color-scheme

Which for some reason was set back to default on my system.

Running settings set org.gnome.desktop.interface color-scheme prefer-dark fixes the issue for the appimage. I have no idea why this does not happen with the cpu-x-git aur package though.

Sorry for bothering.

@TheTumultuousUnicornOfDarkness
Copy link
Owner

There is a workaround for AppImage in linuxdeploy-plugin-gtk.sh: Adwaita theme is forced, because custom themes may not work properly in some cases (due to missing libraries inside AppImage and GTK version mismatch with host).

Anyway, official packages on AUR are cpu-x and cpu-x-git, maintained by myself. Personally, I encourage Arch users to use one of them instead of AppImage version, because they offer the best experience.

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