Fildem icon indicating copy to clipboard operation
Fildem copied to clipboard

Support GNOME 45 (moved to ESM)

Open 7system7 opened this issue 1 year ago • 10 comments

Information

  • Operating System:
LSB Version:	n/a
Distributor ID:	Arch
Description:	Arch Linux
Release:	rolling
Codename:	n/a
  • Gnome Shell Version: 45.0
  • Xorg/Wayland?: Wayland
  • Apps tested: n/a
  • Fildem version: 0.6.7

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/[email protected]/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.

7system7 avatar Oct 10 '23 08:10 7system7

same with ubuntu 23.10 gnome 45

zniavre avatar Oct 26 '23 07:10 zniavre

+1

IdkWhatToCallMe123 avatar Nov 03 '23 15:11 IdkWhatToCallMe123

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.

Sominemo avatar Nov 07 '23 23:11 Sominemo

@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.

7system7 avatar Nov 08 '23 06:11 7system7

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

Sominemo avatar Nov 08 '23 06:11 Sominemo

@Sominemo big thank you it works like a charm.

zniavre avatar Nov 08 '23 12:11 zniavre

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

spusuf avatar Dec 15 '23 03:12 spusuf

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 [email protected] ~/.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

p134c0d3 avatar Mar 06 '24 22:03 p134c0d3

@p134c0d3 Were you ever able to figure it out?

Anthony-Eid avatar May 04 '24 19:05 Anthony-Eid

@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.

p134c0d3 avatar May 04 '24 20:05 p134c0d3