{"id":9538,"date":"2019-11-13T15:01:44","date_gmt":"2019-11-13T15:01:44","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=9538"},"modified":"2021-09-25T06:10:06","modified_gmt":"2021-09-25T06:10:06","slug":"hide-mounted-drives-left-dock-ubuntu-19-10","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2019\/11\/hide-mounted-drives-left-dock-ubuntu-19-10\/","title":{"rendered":"How to Remove Mounted Drives From the Left Dock in Ubuntu 21.10, 20.04"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/10\/gnome-logo-feature.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/10\/gnome-logo-feature-250x250.png\" alt=\"\" width=\"250\" height=\"250\" class=\"alignleft size-thumbnail wp-image-34682\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/10\/gnome-logo-feature-250x250.png 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/10\/gnome-logo-feature-300x300.png 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/10\/gnome-logo-feature-600x600.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/10\/gnome-logo-feature-768x768.png 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/10\/gnome-logo-feature.png 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p>This tutorial shows how to <b>hide the icons of mounted drives \/ partitions<\/b> from the left (or bottom) dock launcher in Ubuntu 21.10 and \/ or Ubuntu 20.04.<\/p>\n<p>When you plug in a USB drive or browse through an external system partition in Nautilus file manager, a new device icon will appear in the left dock panel in Ubuntu Gnome desktop.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/11\/hide-mounteddrives-600x391.jpg\" alt=\"\" width=\"600\" height=\"391\" class=\"aligncenter size-large wp-image-9539\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/11\/hide-mounteddrives.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/11\/hide-mounteddrives-450x293.jpg 450w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>To keep your panel clean, you may remove these removable device icons and prevent them from appearing again. And this can be done either by running a single command in terminal or using a graphical configuration tool called Dconf Editor.<\/p>\n<h3>Single command to hide mounted devices from Ubuntu Dock:<\/h3>\n<p>1.) Firstly, open terminal either by pressing <b>Ctrl+Alt+T<\/b> key combination on keyboard or by searching it from the <i>Activities<\/i> overview screen.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/08\/open-gnometerminal.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/08\/open-gnometerminal.jpg\" alt=\"\" width=\"600\" height=\"270\" class=\"aligncenter size-full wp-image-34389\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/08\/open-gnometerminal.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/08\/open-gnometerminal-300x135.jpg 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>2.) When terminal opens, copy and paste the command below into it and hit Enter.<\/p>\n<pre>gsettings set org.gnome.shell.extensions.dash-to-dock show-mounts false<\/pre>\n<p>Removable disk and USB icons on panel disappear immediately after running this command.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/11\/hide-mount-icons.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/11\/hide-mount-icons.png\" alt=\"\" width=\"600\" height=\"165\" class=\"aligncenter size-full wp-image-34696\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/11\/hide-mount-icons.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/11\/hide-mount-icons-300x83.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>(Optional) At anytime, you can reset the change if you change your mind by running command in a terminal windows:<\/p>\n<pre>gsettings reset org.gnome.shell.extensions.dash-to-dock show-mounts<\/pre>\n<h3>Remove Mounted icons from Ubuntu Dock via Dconf Editor:<\/h3>\n<p>For those hating Linux command, an advanced configuration tool &#8216;Dconf Editor&#8217; is present to do the trick.<\/p>\n<p><b>1.)<\/b> Firstly, search for and install <code>dconf editor<\/code> via Ubuntu Software if you don&#8217;t have it:<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/06\/dconf-editor-focal.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/06\/dconf-editor-focal-600x346.jpg\" alt=\"\" width=\"600\" height=\"346\" class=\"aligncenter size-large wp-image-33935\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/06\/dconf-editor-focal-600x346.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/06\/dconf-editor-focal-300x173.jpg 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/06\/dconf-editor-focal-768x442.jpg 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/06\/dconf-editor-focal.jpg 887w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p><b>2.)<\/b> Next search for and launch the tool from activities overview, then navigate to <code>org\/gnome\/shell\/extensions\/dash-to-dock<\/code>.<\/p>\n<p>There scroll down and find out the key &#8220;<b>show-mounts<\/b>&#8220;, and turn off the toggle icon will do the job.<\/p>\n<div id=\"attachment_34697\" style=\"width: 610px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/11\/ubuntudock-showmounts.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-34697\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/11\/ubuntudock-showmounts-600x397.jpg\" alt=\"\" width=\"600\" height=\"397\" class=\"size-large wp-image-34697\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/11\/ubuntudock-showmounts-600x397.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/11\/ubuntudock-showmounts-300x198.jpg 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/11\/ubuntudock-showmounts-768x508.jpg 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/11\/ubuntudock-showmounts.jpg 844w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><p id=\"caption-attachment-34697\" class=\"wp-caption-text\">Toggle show mount icons on Ubuntu Dock<\/p><\/div>\n<p>That&#8217;s all. Enjoy!<\/p>","protected":false},"excerpt":{"rendered":"<p>This tutorial shows how to hide the icons of mounted drives \/ partitions from the left (or bottom) dock launcher in Ubuntu 21.10 and \/ or Ubuntu 20.04. When you plug in a USB drive or browse through an external system partition in Nautilus file manager, a new device icon will appear in the left [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":34682,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-9538","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/9538","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=9538"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/9538\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/34682"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=9538"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=9538"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=9538"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}