Ubuntu dock can display removable drives, mounted partitions, and network locations alongside application icons. While this behavior provides quick access to storage devices, it can also clutter the dock with unnecessary items. Reducing these entries creates a cleaner interface and keeps the focus on frequently used applications. This tutorial demonstrates how to hide volumes and devices from dock on Ubuntu.
The dock is managed by the Dash to Dock extension, and its behavior can be adjusted through GNOME settings. The following commands modify how volumes and devices are shown:
gsettings set org.gnome.shell.extensions.dash-to-dock show-mounts false
gsettings set org.gnome.shell.extensions.dash-to-dock show-mounts-network false
gsettings set org.gnome.shell.extensions.dash-to-dock show-mounts-only-mounted true
Configuration overview:
org.gnome.shell.extensions.dash-to-dock- GNOME extension schema that controls Ubuntu dock appearance and behavior.show-mounts false- prevents mounted volumes and removable storage devices from appearing in the dock.show-mounts-network false- prevents network volumes from appearing in the dock.show-mounts-only-mounted true- prevents unmounted volumes from appearing in the dock.
The updated settings take effect immediately, and the dock refreshes without requiring a logout or system restart.
Leave a Comment
Cancel reply