7

After entering in sleep mode, when I log back in again, the icons in the dock have disappeared. I'm using Dash to Dock extension.

enter image description here

becomes

enter image description here

It is even more frustrating the fact that I can't even move between windows using alt+tab - it's like all open windows are also gone.

I upgraded from Ubuntu 21.04 few days ago.

Is there any solution?

Inigo EC
  • 181

3 Answers3

4

I ran into the same issue on Ubuntu 21.10 with Gnome 40.4.0. It was resolved by switching off the Built in Ubuntu Dock Extension.

Steps:

  1. Install the Dash-to-Dock extension from here: https://extensions.gnome.org/extension/307/dash-to-dock/
  2. Under Applications > Extensions > Built-in, deselect the Ubuntu Dock toggle (see screenshot below)
  3. Restart: ALT+F2, "r",

This solved the issue described by OP that the icons in the dock disappear after a suspend. Hope it helps someone running into this issue

enter image description here

ChanganAuto
  • 1
  • 8
  • 15
  • 23
3

The reason is that your extension is not compatible with the version of Gnome Shell that comes with your upgraded Ubuntu version.

If you install software outside of the official repositories, then you are responsible for whether it works or not. Dash to Dock is not supported software in Ubuntu. Thus, when you upgrade to a newer Ubuntu version, it may break.

Remove the Dash to Dock extension. If there is an updated version, you may take the responsability to install that one instead. However, it is safer to just use the Ubuntu Dock extension. That is based on Dash to Dock and packaged specifically to work with your current Ubuntu version.

vanadium
  • 97,564
1

I was also facing same issue, but once I disable built-in "Ubuntu-Dock", in the extensions, everything seems to be fixed.