11

I recently installed Ubuntu 22.04 LTS on my computer. I want to remove the home folder icon from the desktop.

It used to be (20.04) that you could use this command:

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

You also used to be able to hide the home folder icon using Gnome Tweaks, but this option no longer exists.

Is there an equivalent that I can run in 22.04?

Thanks in advance!

Pranai Rao
  • 401
  • 1
  • 4
  • 12

2 Answers2

22

In "Settings", "Appearance", uncheck the option "Show Personal folder" in the section "Desktop Icons".

enter image description here

The setting show-home has moved to org.gnome.shell.extensions.ding, so the command

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

will work in Ubuntu 22.04 and up.

vanadium
  • 88,010
  • 1
    +1 and a DING! for adding the ding. :D – user68186 Apr 28 '22 at 15:07
  • seems need ubuntu >= 22 – yurenchen Sep 29 '22 at 19:53
  • 1
    @yurenchen yes, old method is already in the question. User asks how it works in newer versions. – vanadium Sep 30 '22 at 06:23
  • In Ubuntu 22.04.1, my "show personal folder" toggle switch in Settings is off, yet the home folder is still showing. I also tried "gsettings set org.gnome.shell.extensions.ding show-home false", and restarting, to no effect. These did not show in Ubuntu 20. Something changed. – Linda Oct 30 '22 at 19:11
  • @vanadium On Ubuntu 22.04 I am getting No such schema “org.gnome.shell.extensions.ding”. Can you please suggest? – Porcupine Nov 18 '22 at 08:11
3

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