dash-to-dock icon indicating copy to clipboard operation
dash-to-dock copied to clipboard

Dash to dock not working after updating gnome to 3.38.6

Open omargoda opened this issue 3 years ago • 11 comments

After updating to Gnome 3.38.6, dash to dock is not working and in the settings, I see the following error message:

The settings of extension [email protected] had an error:

Error: Invalid parameter interfaces (element 0 was not a GType)

Stack trace:

_init/GObject.Object._classInit@resource:///org/gnome/gjs/modules/core/overrides/GObject.js:444:27
registerClass@resource:///org/gnome/gjs/modules/core/overrides/GObject.js:78:22
@/usr/share/gnome-shell/extensions/[email protected]/prefs.js:180:24
_init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:204:33
OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:122:28
asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:115:22
run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:177:20
main@resource:///org/gnome/Shell/Extensions/js/main.js:19:13
run@resource:///org/gnome/gjs/modules/script/package.js:206:19
start@resource:///org/gnome/gjs/modules/script/package.js:190:8
@/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17

omargoda avatar Oct 13 '21 03:10 omargoda

same here friend, still trying to figure it out

ghost avatar Oct 15 '21 13:10 ghost

There's this list of things it must be made to port to gnome shell 40: https://gjs.guide/extensions/upgrading/gnome-shell-40.html#contents

This diff make the extension work again, but still with errors:

diff --git a/docking.js b/docking.js
index a4d5b21..3534d4c 100644
--- a/docking.js
+++ b/docking.js
@@ -16,7 +16,13 @@ const Overview = imports.ui.overview;
 const OverviewControls = imports.ui.overviewControls;
 const PointerWatcher = imports.ui.pointerWatcher;
 const Signals = imports.signals;
-const SearchController = imports.ui.searchController;
+
+try {
+    const SearchController = imports.ui.searchController;
+} catch(err) {
+    log("SearchController doesn't exist");
+}
+
 const WorkspaceSwitcherPopup= imports.ui.workspaceSwitcherPopup;
 const Layout = imports.ui.layout;
 const LayoutManager = imports.ui.main.layoutManager;

daniel-hartmann avatar Oct 15 '21 14:10 daniel-hartmann

branch gnome-3.38 is working!

daniel-hartmann avatar Oct 15 '21 14:10 daniel-hartmann

branch gnome-3.38 is working!

hello friend can you please make a little tutorial how to access the files and make the changes? i did not understand. thanks for reply

ghost avatar Oct 15 '21 16:10 ghost

git clone --branch gnome-3.38 https://github.com/micheleg/dash-to-dock.git
cd dash-to-dock
make
make install

ALT + F2: type 'r' and Enter. or Restart your computer.

daniel-hartmann avatar Oct 15 '21 16:10 daniel-hartmann

git clone --branch gnome-3.38 https://github.com/micheleg/dash-to-dock.git
cd dash-to-dock
make
make install

ALT + F2: type 'r' and Enter. or Restart your computer.

woooow thank you so much sir, here, after using those suggested by you, I used the command to log out and restart gnome: /usr/bin/gnome-session-quit --no-prompt And all is working just fine, Thanks again friend

ghost avatar Oct 15 '21 18:10 ghost

@daniel-hartmann working like charm, thanks alot!

omargoda avatar Oct 15 '21 19:10 omargoda

@daniel-hartmann Thank you so much!

DucTran999 avatar Oct 17 '21 00:10 DucTran999

@daniel-hartmann Wow!Think you sooooooooooooooooo much!

Hopeless avatar Oct 19 '21 03:10 Hopeless

I was having this issue on my kali linux 2021.3. I tried @daniel-hartmann solution but when I ran "make" I got the error shown below.

**

glib-compile-schemas ./schemas/ msgfmt -c po/ar.po -o po/ar.mo make: msgfmt: No such file or directory make: *** [Makefile:54: po/ar.mo] Error 127

**

After a lot of googling I managed to find another solution:

First install the "GNOME shell integration" to your chrome browser. Once installed click on the "GNOME shell integration" extension in chrome. It should take you to "extensions.gnome.org" Once there search for "dash-to-dock" extension by michelle_g Click on it and install the extension to your computer When its done installing, the favorites bar should appear. To verify that the extension has been installed go to the extensions application on your OS and under manually installed you should find the newly installed Dash to Dock extension.

oliver-wahome avatar Dec 10 '21 11:12 oliver-wahome

git clone --branch gnome-3.38 https://github.com/micheleg/dash-to-dock.git
cd dash-to-dock
make
make install

ALT + F2: type 'r' and Enter. or Restart your computer.

Thanks much...

HerbertInk avatar May 27 '22 13:05 HerbertInk