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.

2
  • @heynnema Sorry, I didn't know that I needed to accept the answer of a question that I self-answered and I'm not willing to accept an answer that requires installing a browser extension or package when simple command-line commands can be used in a default installation of Ubuntu. Jul 20, 2019 at 0:48
  • If you notice in your terminal commands... org.gnome.shell.extensions.desktop-icons... the extension is probably already there... and the GUI approach is much easier than using the terminal :-)
    – heynnema
    Jul 20, 2019 at 0:50

3 Answers 3

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
  • This did exactly what I wanted. Thanks a ton. +1 Jan 9, 2021 at 5:21
1

enter image description here

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

You must log in to answer this question.

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