gonzaarcr / Fildem

Fildem global menu
GNU General Public License v3.0
804 stars 84 forks source link

Support GNOME 45 (moved to ESM) #175

Open 7system7 opened 11 months ago

7system7 commented 11 months ago

Information

What is the current behavior?

The extension is not working 'cause the GNOME moved to ESM. 😢 But we are waiting for this extension, because it is sooo awesome.

Steps to reproduce the problem

  1. Install the extension.
  2. It won't work because
SyntaxError: export declarations may only appear at top level of a module

Stack trace:
  @file:///home/system7/.local/share/gnome-shell/extensions/fildemGMenu@gonza.com/prefs.js:4:16
  _init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34

What is the expected behavior?

To work.

zniavre commented 10 months ago

same with ubuntu 23.10 gnome 45

IdkWhatToCallMe123 commented 10 months ago

+1

Sominemo commented 10 months ago

I added GNOME 45-47 support in my PR #176.

The maintainer seems to be inactive currently so I don't expect it to be accepted soon, but you can install the updated version manually, see #176 for instructions.

7system7 commented 10 months ago

@Sominemo Thank you for your work. Actually I started the upgrade too, but I am a web developer w/o any experience. I did not found enough docs to start the development...

If you know any updated description how to start developing and testing an extension, step-by-step, pls share with me too. The bigger problem the tesing. I created a GNOME inside the GNOME as a documentation says, but I do not know how to use it exactly.

Sominemo commented 10 months ago

@7system7 I don't have prior experience with GNOME extensions and I used the GJS Guide as a reference:

zniavre commented 10 months ago

@Sominemo big thank you it works like a charm.

spusuf commented 8 months ago

The maintainer seems to be inactive currently so I don't expect it to be accepted soon

This usually calls for a fork, from there look into publishing to the GNOME extensions page. There isnt anything else for GNOME 45 so it would be appreciated

p134c0d3 commented 6 months ago

I added GNOME 45 support in my PR #176.

The maintainer seems to be inactive currently so I don't expect it to be accepted soon, but you can install the updated version manually:

git clone https://github.com/Sominemo/Fildem-Gnome-45.git
cd Fildem-Gnome-45
cp -r fildemGMenu@gonza.com ~/.local/share/gnome-shell/extensions/

After installing, log out and sign back in.

Does the extension have to already be installed before performing your commands? I tried to use your PR and still don't have the menu showing for applications that would normally show one (e.g. Brave browser, Chrome, etc). Trying to figure out exactly step by step what I need to do here. Lol

Anthony-Eid commented 4 months ago

@p134c0d3 Were you ever able to figure it out?

p134c0d3 commented 4 months ago

@p134c0d3 Were you ever able to figure it out?

Unfortunately I did not. Ended up just moving back to KDE where it's supported natively and made a similar looking setup (macOS looking) on that. Plus with Wayland it's got the natural scroll gestures I enjoy using. Gnome restricting everything (mainly referring to customizations, but other examples are there) made it no longer enjoyable to use for me.