How to Hide Mounted Drives From the Left Dock in Ubuntu 19.10

November 13, 2019

gnome shell

This tutorial shows how to hide the icons of mounted drives / partitions from the left (or bottom) dock launcher in Ubuntu 19.10.

When you plug in a USB drive or browse through an external file partition in Nautilus file browser, a new device icon will appear in the left dock panel in Ubuntu 19.10 Gnome desktop.

To prevent these mounted devices icons from showing, do following steps:

1.) Install dconf editor via Ubuntu Software:

2.) Launch dconf editor, and navigate to org/gnome/shell/extensions/dash-to-dock.

Then scroll down and find out the key “show-mounts“, and turn off the toggle.

For those familiar with Linux commands, a single command can prevent these mounted devices icons from showing in the left dock.

gsettings set org.gnome.shell.extensions.dash-to-dock show-mounts false

(Optional) Also you can easily restore the change via command:

gsettings reset org.gnome.shell.extensions.dash-to-dock show-mounts

I'm a freelance blogger who started using Ubuntu in 2007 and wish to share my experiences and some useful tips with Ubuntu beginners and lovers. Please notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via [email protected]

2 responses to How to Hide Mounted Drives From the Left Dock in Ubuntu 19.10

  1. How about only showing certain mounts, or only blocking certain mounts? Is that possible?

  2. I am looking to reactivate mounted drives in Ubuntu 18.04, and that “show-mounts” feature is not available
    Do you know if there is a way to update nautilus maybe ? adding an extension ?
    Thanks