How to Remove Desktop Icons & Move Trash to the Dock in Ubuntu 20.10

This is a beginner’s guide shows how to hide the desktop icons (e.g., Home, Trash, and Removable Devices), and move the trash can onto the left panel (Dock) in Ubuntu 20.10 Groovy Gorilla.

Method 1: Do the job via a few Linux commands.

If you’re OK with Linux command line, the job can be done by running a few commands in terminal.

First open terminal by pressing Ctrl+Alt+T on keyboard. Then drop and drop following commands into terminal and hit run one by one.

  • Remove user’s home desktop icon:
    gsettings set show-home false
  • Remove the trash icon:
    gsettings set show-trash false
  • Remove mounted device icon:
    gsettings set show-mount false
  • Show trash can on the Dock:
    gsettings set show-trash true

Remove Desktop Icons and Move Trash to Dock via Graphical Tool

Hate Linux commands? There are also graphical configuration tools can do the job.

1. First search for and install Gnome Tweaks from Ubuntu Software. Then open Gnome Tweaks and go to Extensions tab.

There click the gear icon, and then turn off the toggle icons to hide these desktop icons. You can also turn off the ‘Desktop Icons’ extension to hide ALL.

2. Search for and install dconf editor from Ubuntu Software. Then launch the tool and navigate to org > gnome > shell > extensions > dash-to-dock.

There scroll down and find out the key for ‘show-trash‘ and turn on the toggle icon.

That’s it. Enjoy!

Merilyn Ne
Hi, I'm Merilyn Ne, a computer geek working on Ubuntu Linux for many years and would like to write useful tips for beginners. Forgive me for language mistakes. I'm not a native speaker of English.