5

To reiterate the question: how do I remove the home directory and Trash icons from the desktop in Ubuntu 19.04?

There are several similar questions on Ask Ubuntu, but none provided the answer:

The second, third, and fourth questions are the top three hits in Google for the search terms "Ubuntu remove icons from desktop", but I can't provide the correct answer for Ubuntu 19.04 on any of them because they specifically cite a different Ubuntu version number.

3 Answers3

5

The simplest method is to execute these two commands in a terminal:

gsettings set org.gnome.shell.extensions.desktop-icons show-home false
gsettings set org.gnome.shell.extensions.desktop-icons show-trash false

1

enter image description here

heynnema
  • 73,649
0

Remove trash icon:

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

Remove home icon:

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

To additionally hide the external drives:

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