Skip to content
This repository has been archived by the owner on Jun 2, 2024. It is now read-only.

Not applying theme corretly in Ubuntu 24.04 #255

Closed
3 tasks done
stephanlamoureux opened this issue May 27, 2024 · 6 comments
Closed
3 tasks done

Not applying theme corretly in Ubuntu 24.04 #255

stephanlamoureux opened this issue May 27, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@stephanlamoureux
Copy link

stephanlamoureux commented May 27, 2024

Is there an existing issue outlining your problem?

  • I have searched the existing issues and they do not solve my problem.

Describe the bug.

The theme only works in a couple of random places, like the Gnome power menu and some apps like Shotwell. It doesn't apply anywhere else. I installed it using the installation script and applied the theme to the Shell and Legacy Applications with the Gnome tweak tool.

I also added the symlinks:

I tried using the script:

./install.py macchiato lavender --link

and then the manual way:

mkdir -p "${HOME}/.config/gtk-4.0" && ln -sf "${THEME_DIR}/gtk-4.0/assets" "${HOME}/.config/gtk-4.0/assets" && ln -sf "${THEME_DIR}/gtk-4.0/gtk.css" "${HOME}/.config/gtk-4.0/gtk.css" && ln -sf "${THEME_DIR}/gtk-4.0/gtk-dark.css" "${HOME}/.config/gtk-4.0/gtk-dark.css"

screefetch shows that catppucin is installed as the GTK theme, but WM Theme is listed as Yaru.

Attach screenshots.

Screenshot from 2024-05-27 14-23-27
Screenshot from 2024-05-27 14-12-02
Screenshot from 2024-05-27 14-08-57

How did you install the theme?

From release (install.py)

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

  • I am running on the latest release & the issue persists there

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

  • I have symlinked the gtk-4.0 folder.

What GNOME version are you seeing the bug on?

GNOME Version 46.0.1

Any additional comments?

No response

@stephanlamoureux stephanlamoureux added the bug Something isn't working label May 27, 2024
@isabelroses
Copy link
Member

Seems like a gnome-shell issue. The best way to see if this is the case would be to install gnome-tweaks. This will let you see what the current shell is, and allow us to confirm whether is catppuccin or not.

@stephanlamoureux
Copy link
Author

stephanlamoureux commented May 27, 2024

@isabelroses I applied the theme using gnome-tweaks, here is that and screenfetch:

Screenshot from 2024-05-27 14-53-07
Screenshot from 2024-05-27 14-52-49

@nullishamy
Copy link
Contributor

Your shell theme doesn't seem to be applying properly, nor your GTK4 theme. Can you ls -lah ~/.config/gtk-4.0 to show the status of the symlinks?

@stephanlamoureux
Copy link
Author

Your shell theme doesn't seem to be applying properly, nor your GTK4 theme. Can you ls -lah ~/.config/gtk-4.0 to show the status of the symlinks?

I think this looks correct?
Screenshot from 2024-05-27 16-53-33

@isabelroses
Copy link
Member

isabelroses commented May 27, 2024

I think this looks correct? Screenshot from 2024-05-27 16-53-33

Those look like dead symlinks to me. Bash does not have error checking for unset vars, so it looks like it symlinked to a dir that does not exist. Shall we try again with something like this. (this does assume that you have the catppuccin themes in ${HOME}/.local/share/themes. Which is what we recommend.)

It's important that you replace <put the catppuccin theme name here> from the commands below since I don't know what theme you selected.

ln -sf "${HOME}/.local/share/themes/<put the catppuccin theme name here>/gtk-4.0/gtk-dark.css" "${HOME}/.config/gtk-4.0/gtk-dark.css"
ln -sf "${HOME}/.local/share/themes/<put the catppuccin theme name here>/gtk-4.0/gtk.css" "${HOME}/.config/gtk-4.0/gtk.css"
ln -sf "${HOME}/.local/share/themes/<put the catppuccin theme name here>/gtk-4.0/assets" "${HOME}/.config/gtk-4.0/assets"

@stephanlamoureux
Copy link
Author

Thank you! That did the trick 🙌🏻

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants