catppuccin / gtk

🪟 Soothing pastel theme for GTK3/4
GNU General Public License v3.0
906 stars 51 forks source link

Theme not found by lxappearance. #260

Open ewansart opened 4 months ago

ewansart commented 4 months ago

Is there an existing issue outlining your problem?

Describe the bug.

I use i3 with lxappearance to set the theme. Catppuccin themes used to show up in lxappearance but not since last update. I tried all flavors from the AUR (version 1.0.2) with lxappearance and lxappearance-gtk3 from the AUR (version 0.6.3-4) but nothing shows up.

I managed to set the theme by manually modifying the ~/.gtkrc-2.0 and ~/.config/gtk-3.0/settings.ini files but this lead to another problem : the qt5-styleplugins and qt6gtk2 patches which I use for applying a GTK theme to QT do not work anymore. I assume the bugs are related.

Attach screenshots.

lxappearance

How did you install the theme?

AUR package

Are you running the latest release, and if not does the issue persist there?

If using GTK4, have you symlinked the "gtk-4.0" folder?

What GNOME version are you seeing the bug on?

i3

Any additional comments?

No response

shadow-absorber commented 4 months ago

this is the same issue as #258 i.e it caused by the -dark instead of -Dark in the newest update... lets wait for #261 hoping it fixes it

nullishamy commented 4 months ago

You can run the test build that #261 publishes if you want to try it out before the release lands. See https://github.com/catppuccin/gtk/blob/main/CONTRIBUTING.md#running-test-builds

shadow-absorber commented 4 months ago

well using the aur build so would have to tinker quite abit to use that... still yeah go for that if you can't wait

shadow-absorber commented 4 months ago

never mind even using the new test build makes it not appear in lx apparence for some reason... can set it manually using the files but dunno if that is good

notliamsi commented 4 months ago

this is the same issue as #258 i.e it caused by the -dark instead of -Dark in the newest update... lets wait for #261 hoping it fixes it

Can you explain what do you mean by -dark and -Dark, is it the directory's name, or what? I'm confused :).

never mind even using the new test build makes it not appear in lx apparence for some reason... can set it manually using the files but dunno if that is good

What about downgrading the packages? Would that be a good temporary solution?

For anyone wondering how to solve this problem before it get patched; you can edit the .config/gtk-3.0/settings.ini, then change gtk-theme-name value to the theme's directory's name (e.g. catppuccin-mocha-blue-standard+default-dark) and it would work. I think you also should be using lxappearance-gtk3 instead of the gtk2 version, because it uses the ~/.gtkrc-2.0, you can use the gtk2 method also if you want, but I didn't try that.

Note: Don't try to change anything with lxappearance, because it will override your config.

2024-05-29_17-10

I still not sure about this temporary solution, if anyone has anything better please share it.

anotherwanwanyi commented 4 months ago

If you are in wlroots-based Wayland environment, you can use nwg-look as an alternative to lxappearance. This software can find Catppuccin themes.

This could be a solution. :)

muneebusmani commented 4 months ago

@notliamsi thanks! it worked