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.84k stars 461 forks source link

Update on Kali breaks DTD #1544

Open gray-area opened 2 years ago

gray-area commented 2 years ago

When using the command as follows:

sudo apt-get upgrade

The update works, but upon reboot the DTD is gone. The following is what is working, and installed:

Package: gnome-shell-extension-dashtodock
Version: 69-1
Status: install ok installed
Priority: optional
Section: gnome
Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
Installed-Size: 947 kB
Depends: dconf-gsettings-backend | gsettings-backend, gnome-shell (>= 3.36)
Recommends: gnome-shell-extension-prefs
Homepage: https://micheleg.github.io/dash-to-dock/
Download-Size: unknown
APT-Manual-Installed: no
APT-Sources: /var/lib/dpkg/status
Description: dash-to-dock extension for GNOME shell
 Dash to dock extension is an enhanced dash for GNOME Shell. It moves the
 default dash out of the overview and transforms it in a dock for an easier
 launching of applications and a faster switching between windows and
 workspaces without leaving the desktop view improving the workflow in your
 system.
 .
 It supports autohide and intellihide modes as well as a fixed mode.
 Optional features are available in the extension settings. The extension
 is themes friendly.

If you update Kali, it goes to this version and breaks:

Package: gnome-shell-extension-dashtodock
Version: 69+git20210825-0kali1
Priority: optional
Section: gnome
Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
Installed-Size: 957 kB
Depends: dconf-gsettings-backend | gsettings-backend, gnome-shell (>= 3.36)
Recommends: gnome-shell-extension-prefs
Homepage: https://micheleg.github.io/dash-to-dock/
Download-Size: 137 kB
APT-Sources: http://http.kali.org/kali kali-rolling/main amd64 Packages
Description: dash-to-dock extension for GNOME shell
 Dash to dock extension is an enhanced dash for GNOME Shell. It moves the
 default dash out of the overview and transforms it in a dock for an easier
 launching of applications and a faster switching between windows and
 workspaces without leaving the desktop view improving the workflow in your
 system.
 .
 It supports autohide and intellihide modes as well as a fixed mode.
 Optional features are available in the extension settings. The extension
 is themes friendly.
jasvinder1107 commented 2 years ago

same issue here, can someone please look at this on priority? The package 69+git20210825-0kali1 is broken.


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/dash-to-dock@micxgx.gmail.com/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
slawekwoking commented 2 years ago

same here, plus in my case system settings not turning on

crashoveride commented 2 years ago

I am having the same issue and it is very frustrating. I hadn't been on my Kali box in a while as I was using Parrot OS, but wanted to go back to the OG Kali Platform. Since it has been a while I had of course ran:

sudo apt update -y && sudo apt upgrade

When you open extensions there is a warning next to dash-to-dock. with the following error:

`The settings of extension dash-to-dock@micxgx.gmail.com 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/dash-to-dock@micxgx.gmail.com/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

`

cppandian commented 2 years ago

Same error here

gray-area commented 2 years ago

There is a new version of DTD that is out. However, this one is still broken when updating Kali.

gnome-shell-extension-dashtodock/kali-rolling 70+git20210825-0kali1 all [upgradable from: 69-1]
Package: gnome-shell-extension-dashtodock
Version: 70+git20210825-0kali1
Priority: optional
Section: gnome
Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
Installed-Size: 957 kB
Depends: dconf-gsettings-backend | gsettings-backend, gnome-shell (>= 3.36)
Recommends: gnome-shell-extension-prefs
Homepage: https://micheleg.github.io/dash-to-dock/
Download-Size: 137 kB
APT-Sources: http://http.kali.org/kali kali-rolling/main amd64 Packages
Description: dash-to-dock extension for GNOME shell
 Dash to dock extension is an enhanced dash for GNOME Shell. It moves the
 default dash out of the overview and transforms it in a dock for an easier
 launching of applications and a faster switching between windows and
 workspaces without leaving the desktop view improving the workflow in your
 system.
 .
 It supports autohide and intellihide modes as well as a fixed mode.
 Optional features are available in the extension settings. The extension
 is themes friendly.
gray-area commented 2 years ago

Here is my work-in-progress of the workarounds I am using. https://github.com/gray-area/Linux/blob/main/cut_updates.md