spin83 / multi-monitors-add-on

GNU General Public License v2.0
415 stars 95 forks source link

Extension doesn't load correctly on Gnome 3.32.2 #162

Open antenore opened 3 years ago

antenore commented 3 years ago

Thanks a lot for this extension.

I've manually installed the extension for gonme 3.32.2, it partially works, except for this:

image

╭─antenore@nina ~/.local/share/gnome-shell/extensions
╰─$ cd multi-monitors-add-on@spin83/
╭─antenore@nina ~/.local/share/gnome-shell/extensions/multi-monitors-add-on@spin83
╰─$ gnome-shell --version
GNOME Shell 3.32.2
╭─antenore@nina ~/.local/share/gnome-shell/extensions/multi-monitors-add-on@spin83
╰─$ journalctl -f -o cat /usr/bin/gnome-shell

Enable Multi Monitors Add-On (v21)...
Add Monitors ...
new: i0x1920y0w3840h2160
Extension "multi-monitors-add-on@spin83" had error: TypeError: ExtensionSystem.connect is not a function
JS ERROR: Could not load extension schemas: Error: Missing metadata.json
createExtensionObject@resource:///org/gnome/shell/ui/extensionSystem.js:223:19
_loadExtensions/<@resource:///org/gnome/shell/ui/extensionSystem.js:502:29
collectFromDatadirs@resource:///org/gnome/shell/misc/fileUtils.js:25:17
_loadExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:486:9
_enableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:516:13
_sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:547:13
init@resource:///org/gnome/shell/ui/extensionSystem.js:35:9
_initializeUI@resource:///org/gnome/shell/ui/main.js:223:5
start@resource:///org/gnome/shell/ui/main.js:125:5
@<main>:1:31

I've tested the extension version 22 from the Gnome extensions website and from git (the right branch) the version 21

Any ideas why? To me the metada looks good.