I'm running Ubuntu 17.10 with GNOME shell. How do I remove "Trash" icon from desktop?

up vote 24 down vote accepted

You may use (GNOME) Tweaks to do that. If it is not installed, install it by

sudo apt install gnome-tweak-tool

Launch Tweaks and go to Desktop section. Then toggle off (or uncheck) the Trash (or Rubbish bin or Wastebasket) option under "Icons on Desktop".

enter image description here

Alternatively you may run the following command in Terminal:

gsettings set org.gnome.nautilus.desktop trash-icon-visible false
  • 1
    Just tested it in a VM. Works as advertised. Tested the GUI solution with tweak tools and the command line solution. – Videonauth Oct 17 '17 at 22:20
  • 1
    Can also confirm the terminal command works as advertised – Brett Beatty Apr 28 at 7:18

Your Answer


By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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