Ubuntu – How To Hide Mounted Drives From Ubuntu 18.04 Desktop

18.04gnome-shell

After scrolling with the mouse while pressing Ctrl in Nautilus, my icons for mounted hard drives have increased to the maximum size. (They are parallel to the thumbnails' view size, which looks like a bug to me. The size remains after a restart.) Anyway, I'd like to hide them. How can I do that?

Best Answer

  • Open Terminal and run the following command:

    gsettings set org.gnome.nautilus.desktop volumes-visible 'false'
    

    Alternatively, if you have (GNOME) Tweaks installed, you can use it to disable 'Mounted Volumes' under Desktop:

    enter image description here


    This won't work for Ubuntu 19.04 and later as desktop icons are handled by a GNOME Shell extension instead of Nautilus for those releases.

  • Related Question