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

Not compatible with Gnome 4.0 #12

Open
ameeno opened this issue May 23, 2021 · 5 comments
Open

Not compatible with Gnome 4.0 #12

ameeno opened this issue May 23, 2021 · 5 comments

Comments

@ameeno
Copy link

ameeno commented May 23, 2021

Hi I am on gnome 4.0 arch. cannot get this to work. extensions.gnome.org says incompatible. how can we fix it?

@hydroEng
Copy link

Someone please consider porting this to Gnome 40. This is one of the most useful extensions I've used 🙂.

جزاكم الله خير

@tes123id
Copy link

is there a way to install this on gnome 40 ? this is an amazing extension, very useful

@minax007
Copy link

@ameeno @Suryaya @tes123id

To get it working in gnome 40 you just need to add "40" in the metadata.json file and restart your system (or alt+F2 and enter "r" followed by a return).

"shell-version": [ "3.28.3", "3.26.1", "40" ],

@minax007
Copy link

Gnome 40 and Gnome 41 work fine.

But with Gnome 42 it doesn't work anymore.

Does anyone have an idea what to do?

@ameeno I see that you are an expert and that you have forked this repository. Do you have a clue what is needed?

Thanks!

@ahmetbombaci
Copy link

I briefly checked the issue but I could not make a lot of progress. Sharing what I did here in case someone else can make more progress.

Initial error that I got after upgrading Gnome 42:

margin_left not found.

I checked https://docs.gtk.org/gtk4/class.StackSwitcher.html so I updated prefs.js (line 204 and 207):

  • margin_start instead of margin_left
  • margin_end instead of margin_right

I restarted my gnome shell via (Alt+F2) ---> r

Then, I got another error:

Error: GSettings key undefined not found in schema org.gnome.shell.extensions.azan

Line number indicated an issue related Calculation Method key definition but I am not so sure what needs to be changed.

I checked my other extensions which works fine with Gnome 42 and uses PrefsKeys and I found the following:

https://github.com/justperfection/blur-my-shell

I am not so sure what is the best strategy to resolve the issue:

"Reading Gtk4 documentation" vs "Checking blur my shell code to understand which kind of setup needs to be done to read keys"

....

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

5 participants