Hide USB Drive Icons in Ubuntu - Simple Guide
Maintaining a Clean Ubuntu Desktop: Removing Removable Drive Icons
A tidy desktop environment is preferable for many users, free from the visual clutter of numerous icons. However, Ubuntu, by default, automatically displays icons on the desktop for each removable drive connected to the system.
Having recently adopted Ubuntu as my primary operating system at home, disabling this feature became a priority. Unfortunately, a direct option isn't available within the standard configuration settings.
Utilizing gconf-editor
Therefore, we must employ gconf-editor, Ubuntu’s configuration editor, often referred to as the "registry editor." To launch the application, simply type 'gconf-editor' into the run dialog box, accessible via Alt+F2.
This tool allows for direct modification of system settings not exposed through the graphical user interface.
Navigating to the Relevant Key
Within gconf-editor, navigate to the following path:
apps / nautilus / desktop
This path leads to the settings controlling the appearance and behavior of the Nautilus file manager's desktop integration.
Disabling Icon Visibility
In the right-hand pane, locate the key named volumes_visible. Uncheck the box associated with this key. The desktop icons representing removable drives will then be immediately removed.
It’s important to note that this change doesn’t restrict access to the drives themselves. They remain readily accessible through the "Computer" icon or within the file browser.
With this adjustment, a cleaner and more aesthetically pleasing desktop environment is achieved.