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 '18 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 '18 at 7:30
  • A not-so-elegant workaround for trash icon: askubuntu.com/questions/1067164/… – pomsky Sep 30 '18 at 19:11

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.