Ubuntu 22.04 Adds Apparent Options to Hide Mounted Drives / Trash from Dock

Last updated: September 25, 2023 — 2 Comments

Boring with the external disk partitions, USB drive, as well as Trash icons displayed on the left panel (aka, Ubuntu Dock)? Ubuntu 22.04 now has the options in system settings to toggle display these icons.

It’s not hard to do the tweaks in previous Ubuntu editions. Usually, we just need to run single command in terminal (press Ctrl+Alt+T to open terminal):

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

Or, install and use the advanced ‘Dconf Editor‘ configuration tool to look for and change the key values.

Hide Mounted Drives & Trash from left panel in Ubuntu 22.04

In the daily build of the next Ubuntu 22.04 LTS, it now includes the options in the ‘Appearance‘ tab of system settings. So, users don’t have to search for the commands or look through the keys to do the trick.

1.) Firstly, open ‘Settings‘ either from start menu or top-right corner system tray menu. When it opens, navigate to ‘Appearance’ tab and click on ‘Configure dock behavior‘ in the right.

2.) In will pop-up a small dialog with toggle icons and check-boxes to show/hide the volumes and trash icon on Ubuntu Dock.

Just change the settings as you wish. The change will take effect immediately.

NOTE: Ubuntu 22.04 is not officially released at the moment, things can be changed and even removed in the final freeze.


I'm a freelance blogger who started using Ubuntu in 2007 and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please comment to let me know if the tutorial is outdated! And, notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via ubuntuhandbook1@gmail.com Buy me a coffee: https://ko-fi.com/ubuntuhandbook1

2 responses to Ubuntu 22.04 Adds Apparent Options to Hide Mounted Drives / Trash from Dock

  1. That was easy (via Appearance settings) and I didn’t know that earlier. Thanks. No, nothing changed even now (Dec 2022).

  2. Hello, I have 1 2TB HDD and 2 450GB sata ssd. I press del when booting and go into BIOS this shows only the 2TB HDD. when running ubuntu 22.04, I am able to see all drives with lsblk -la but I want to change the boot order in BIOS. This I cannot do because they do not show. Can you advise me how to get these drives to show in BIOS so I can boot to another drive, please.

    Rod. Jackson

Leave a Reply

Text formatting is available via select HTML.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>