29

I upgraded from 21.10 to 22.04. Everything was fine. But when I changed the wallpaper, all my desktop icons are gone now. I see a plain desktop with wallpaper and icons dock.

How can I bring back the desktop icons? Thanks.

Edit 1: Checked " Extensions", no Desktop NG extension available.

stumblebee
  • 4,379
user227495
  • 4,309

4 Answers4

42

Apparently, there was an issue during your upgrade where the gnome shell extension that provides the desktop icons was not properly upgraded.

Install the extension:

sudo apt install gnome-shell-extension-desktop-icons-ng

Logging out then back in should enable the extension, and thus give you the desktop icons back.

In case you do not see the icons, check whether the extension is correctly installed and active using the Extensions tool. If needed, install the Extensions tool:

sudo apt install gnome-shell-extension-prefs
vanadium
  • 97,564
2

The new Ubuntu 22.04.1 does not support the Type=Link in desktop icons. So make it an Application like this:

[Desktop Entry]
Encoding=UTF-8
Type=Application
Exec=firefox https://en.wikipedia.org/wiki/Main_Page
Icon=/home/chiel/Pictures/Icons/Wikipediaglobe.png
Name[en_US]=Wiki_en

Make sure the extension is .desktop.

1

In my case reinstalling Gnome Control Center solved the problem.

sudo apt install --reinstall gnome-control-center
0

I just wanted to add my experience in case it helps someone else. I basically tried everything that everyone else said on the internet. I rebooted my laptop. I logged out. I reinstalled things. Removed and installed them. Nothing worked.

Until I deleted a few files on in my desktop folder via the Gnome Files application. I am not really sure what the root cause was but you could try deleting one or all files in the desktop directory. Maybe don't delete them, just move them somewhere else. Hopefully it will magically resolve this issue for you.

Nabheet
  • 101