micheleg / dash-to-dock

A dock for the Gnome Shell. This extension moves the dash out of the overview transforming it in a dock for an easier launching of applications and a faster switching between windows and desktops.
https://micheleg.github.io/dash-to-dock/
GNU General Public License v2.0
3.82k stars 463 forks source link

Unable to activate extension #2170

Closed uniwix closed 3 months ago

uniwix commented 3 months ago

I'm using gnome 46 and I am unable to toggle this extension on.

This is the message I see when I click on 'settings':

SyntaxError: import declarations may only appear at top level of a module

Stack trace:
  _init@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:23:33
  ExtensionPrefsDialog@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:10:4
  OpenExtensionPrefsAsync@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:124:33
  async*_handleMethodCall@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:373:35
  _wrapJSObject/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:408:34
  run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:187:20
  main@resource:///org/gnome/Shell/Extensions/js/main.js:22:13
  run@resource:///org/gnome/gjs/modules/script/package.js:207:19
  start@resource:///org/gnome/gjs/modules/script/package.js:191:8
  @/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17

Dash to dock

Dash to dock

uniwix commented 3 months ago

It appears to be solved. It is very strange because I have not done anything in order to solve this issue.

iambumblehead commented 3 months ago

unable to activate the extension here: gnome 46, arch linux

if you're using the arch package here https://aur.archlinux.org/packages/gnome-shell-extension-dash-to-dock just change the commit hash to the latest one on master here and dash-to-dock will be working again