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

Stays active after removal/disabling #51

Open
RobinJ1995 opened this issue Oct 29, 2024 · 2 comments
Open

Stays active after removal/disabling #51

RobinJ1995 opened this issue Oct 29, 2024 · 2 comments

Comments

@RobinJ1995
Copy link

I upgraded to Fedora 41/Gnome 47.

This extension is not available on Gnome 47, as such it was disabled and I can no longer change its settings.

This would be fine, as Gnome 47 includes support for accent colours itself. Except my settings set by the plugin remain active, and I have no more way of undoing them as the plugin is disabled and cannot be re-enabled (due to Gnome version incompatibility).

Screenshot From 2024-10-29 22-15-39
You can see how despite yellow being selected in the native Gnome settings, some UI elements still show up with a green accent colour which is what I had set using this extension before.

@dimitrikp03
Copy link
Owner

hey @RobinJ1995, if you encounter such an error, you can manually remove the gtk.css files from ~/.config/gtk-4.0/gtk.css and ~/.config/gtk-3.0/gtk.css and change the shell theme back to default in gnome tweaks :)

@RobinJ1995
Copy link
Author

RobinJ1995 commented Oct 29, 2024

For those who ended up here looking for a solution, this is what I figured out by looking at the extension code:

To undo Gtk theming

extension.js#L139 shows that the extension creates files ~/.config/gtk-3.0/gtk.css and ~/.config/gtk-4.0/gtk.css.

Verify that both only contain 2 lines starting with @define-color, and if so delete these files.

To undo Gnome Shell theming

extension.js#L176 shows the extension modifies a Gnome Shell theme called Custom-Accent-Colors.

Using a tool like Gnome Tweaks, change the shell theme away from Custom-Accent-Colors.

To undo Flatpak theming

extension.js#L164 shows us exactly which command to run;

flatpak override --user --nofilesystem=xdg-config/gtk-4.0 --nofilesystem=xdg-config/gtk-3.0

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