gnome-shell-extension-fullscreen-notifications
gnome-shell-extension-fullscreen-notifications copied to clipboard
expected expression, got '='
Error version 6: expected expression, got '='
PopOS 21.10 Gnome: 40.4.0
I receive the same error message:
Fedora 35 Gnome: 41.6 - X11
May 09 10:10:20 gnome-shell[8364]: Archive: /tmp/T8UUL1.shell-extension.zip
May 09 10:10:21 gnome-shell[8364]: inflating: /home/user/.local/share/gnome-shell/extensions/[email protected]/extension.js
May 09 10:10:21 gnome-shell[8364]: extracting: /home/user/.local/share/gnome-shell/extensions/[email protected]/metadata.json
May 09 10:10:21 gnome-shell[2199]: JS ERROR: Extension [email protected]: SyntaxError: expected expression, got '=' @ /home/user/.local/share/gnome-shell/extensions/[email protected]/extension.js:57
I'm getting the same error on Wayland.
Got the error solved in a hacky way.
- Change directory to installed extensions
cd ~/.local/share/gnome-shell/extensions
- Change directory to fullscreen extension
-
Open extension.js in your preferred text editor
-
Go to line 57
Change this:
changed ||= n.acknowledged;
To this:
changed || n.acknowledged;
-
Save the file
-
Log out and log back in
-
The extension should be working now