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

bug: Flatpak is missing data for gnome shell 45 theming #831

Closed
2 tasks done
KennyDevT opened this issue Nov 5, 2023 · 5 comments
Closed
2 tasks done

bug: Flatpak is missing data for gnome shell 45 theming #831

KennyDevT opened this issue Nov 5, 2023 · 5 comments
Labels
type/bug Something isn't working

Comments

@KennyDevT
Copy link

KennyDevT commented Nov 5, 2023

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

I opened gradience flatpak through the terminal clicked apply shell theming and it showed me this.

Traceback (most recent call last):
File "/app/lib/python3.10/site-packages/gradience/frontend/widgets/shell_theming_group.py", line 113, in on_apply_button_clicked
user_themes_available = is_shell_ext_installed(ShellTheme().THEME_EXT_NAME)
File "/app/lib/python3.10/site-packages/gradience/backend/theming/shell.py", line 59, in init
self._detect_shell_version()
File "/app/lib/python3.10/site-packages/gradience/backend/theming/shell.py", line 278, in _detect_shell_version
raise UnsupportedShellVersion(
gradience.backend.exceptions.UnsupportedShellVersion: GNOME Shell version 45 is not supported. (Supported versions: 42, 43, 44)

But it works fine in in the aur version.

To Reproduce

  1. Add Flathub beta.
  2. Install Gradience beta 0.8.0-beta1
  3. Activate Shell Engine
  4. Apply Shell Engine

Expected behavior

Shell Theming should apply.

Screenshots

No response

OS

Arch Linux

DE/WM version

GNOME 45.1

Version

0.8.0-beta1

Installation method

Flatpak from Github Actions

Enabled system extensions (GNOME specific)

clipboard-indicator@tudmotu.com
blur-my-shell@aunetx
just-perfection-desktop@just-perfection
dash-to-dock@micxgx.gmail.com
overviewbackground@github.com.orbitcorrection
ding@rastersoft.com
extension-list@tu.berry
drive-menu@gnome-shell-extensions.gcampax.github.com
user-theme@gnome-shell-extensions.gcampax.github.com
appindicatorsupport@rgcjonas.gmail.com

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@KennyDevT KennyDevT added the type/bug Something isn't working label Nov 5, 2023
@github-project-automation github-project-automation bot moved this to Todo in Gradience Nov 5, 2023
Copy link
Contributor

github-actions bot commented Nov 5, 2023

Welcome on Gradience. 🥳 We really appreciate your contribution. The core team will review your issue as soon as possible. You can also join the Matrix room: https://matrix.to/#/#Gradience-space:envs.net or the Discord server: https://discord.com/invite/4njFDtfGEZ

@KennyDevT
Copy link
Author

After compiling from sources it still doesn't work but i managed to get it work from copying the files (Gnome 45 shell theming files) from the .cache of Gnome builder

@KennyDevT
Copy link
Author

KennyDevT commented Nov 5, 2023

Did This
sudo cp -r /home/USER/.var/app/org.gnome.Builder/cache/gnome-builder/projects/Gradience/flatpak/staging/x86_64-main/files/share/gradience/shell/45 /var/lib/flatpak/app/com.github.GradienceTeam.Gradience.Devel/current/e435cceae9f3b6db824a2fd37c980f08b8ef97908c4b584ab68a9ffbcb980f46/files/share/gradience/shell

Then This
sudo cp -r /home/USER/.var/app/org.gnome.Builder/cache/gnome-builder/projects/Gradience/flatpak/staging/x86_64-main/files/share/gradience/shell/templates/45 /var/lib/flatpak/app/com.github.GradienceTeam.Gradience.Devel/current/e435cceae9f3b6db824a2fd37c980f08b8ef97908c4b584ab68a9ffbcb980f46/files/share/gradience/shell/templates

@Akergez
Copy link

Akergez commented Dec 24, 2023

any progress there?

@Arcitec
Copy link

Arcitec commented Feb 8, 2024

@daudix You can close this ticket. The nightly Flatpak builds have worked perfectly for weeks, probably even months. :)

Everyone: Keep in mind that the User Shell theme will be installed in ~/.local/share/themes/gradience-shell/gnome-shell. You can use Flatseal to verify that Gradience has write permission to all the paths it needs:

  • xdg-data/themes
  • xdg-config/gtk-3.0
  • xdg-config/gtk-4.0

The Gradience Flatpak app manifest sets these up by default, but just verify that yours aren't ending in :ro (read only). If you've set up read-only (:ro) access globally, like that, then it would get inherited by Gradience. If so, edit the filesystem permissions for Gradience and remove :ro.

@daudix daudix closed this as completed Feb 8, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in Gradience Feb 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

4 participants