When you install Ubuntu 18.04, you won't have Trash in the Dock (Launcher). Instead, it's in the Desktop, and when you mount a volume, it appears in the Desktop; And it's a little messy if you have another stuff on your Desktop.

So I downloaded tweak-tool, there's an option to remove the trash icon and mounted volumes from Desktop.

How can I set the trash and mounted volumes to appear on the Dock just like previous versions of Ubuntu?

  • Are you actually using Unity here, or the default GNOME Shell?
    – muru
    Jul 5, 2018 at 7:23
  • @muru Sorry, by Dash i meant launcher. corrected. And i just installed Ubuntu 18.04. So it would be its default shell i guess.
    – Shayan
    Jul 5, 2018 at 7:30
  • A not-so-elegant workaround for trash icon: askubuntu.com/questions/1067164/…
    – pomsky
    Sep 30, 2018 at 19:11

1 Answer 1


Run this command in terminal for enabling 'Trash' icon on dock

gsettings set org.gnome.shell.extensions.dash-to-dock show-trash true

To disable the same, execute

gsettings set org.gnome.shell.extensions.dash-to-dock show-trash false
  • Still works in Ubuntu 21.10.
    – vlz
    Oct 18, 2021 at 9:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .