Many users prefer to adopt the desktop behavior like in GNOME 2 or others operating systems so they can still enable the classic desktop as seen on the previous article.
However, when the desktop is enabled, many icons will appear, polluting and reducing the free space.
We can hide, and show again if wanted, the icons for the disks volume by executing a simple command. To hide the volumes icons you can just execute inside a terminal (in a single line):
gsettings set org.gnome.nautilus.desktop volumes-visible false
To show the icons again you can execute:
gsettings set org.gnome.nautilus.desktop volumes-visible true
The change is permanent and immediate so doesn’t require any restart.