Once you make the jump to Ubuntu 22.04 from the previous LTS you may notice that the trash icon moves from the desktop and on to the Ubuntu Dock.

This is handy, and evokes the old Unity launcher which had a trash can icon on it (right at the bottom). But not everyone wants it back there, on screen, all of the time.

Ubuntu 22.04 gives you a small set of dock settings, including a toggle to remove the trash can from the Ubuntu Dock entirely.

What there isn’t an option for is to show the trash can on the desktop again.

Hence this post.

To put the trash can back on the desktop (even if you also have it on the dock) run the command:

gsettings set org.gnome.shell.extensions.ding show-trash true

Immediately after hitting enter on this command the trash can icon will boop into being on the Ubuntu desktop (down in the bottom right corner by default).

Having the recycle bin/trash can on the desktop will allow you to take advantage of Ubuntu 22.04’s new ‘arrange icons by type as Home/Drive/Trash’ option in the desktop right-click menu (some users are getting confused by the menu mentioning ‘trash’ when there’s no trash can on the desktop).

If you change your mind and want to remove the trash can from the Ubuntu 22.04 desktop run:

gsettings set org.gnome.shell.extensions.ding show-trash false

I should stress that don’t have to use the command line to do this task If you install the GNOME Extension Prefs tool you get access to the DING desktop extension’s full roster of settings via a GUI. However, in this instance I think the CLI is the quicker option.

How To desktop icons trash Ubuntu 22.04 LTS