How to Remove the Trash Can Icon from the Ubuntu Desktop

On modern versions of Ubuntu running the standard GNOME desktop (such as Ubuntu 22.04 LTS and Ubuntu 24.04 LTS), the operating system places a prominent Trash can icon directly onto your desktop canvas by default. Combined with the personal Home folder icon, this shortcut provides quick drag-and-drop access for discarding unwanted documents. However, for users who prefer a clean, minimalist desktop that showcases high-resolution photography or custom artwork without intrusive system icons, the permanent presence of the Trash bin is an annoyance. Because the Trash icon is already permanently accessible in the left-hand Ubuntu Dock and inside the Files file manager sidebar, having a duplicate icon resting on the desktop wallpaper is unnecessary. Here is how to remove the Trash can icon from the Ubuntu desktop.

Why Remove the Desktop Trash Icon in Ubuntu?

Clearing system icons from your desktop wallpaper provides several aesthetic and practical advantages:

  • Minimalist Wallpaper Presentation: Allows custom desktop wallpapers and artwork to remain completely unobstructed by system shortcut glyphs.
  • Eliminate Redundant Shortcuts: The Trash bin is already integrated into the Ubuntu Dock and Files application; having it on the desktop is redundant.
  • Prevent Accidental Deletions: Avoids misdirected drag-and-drop actions that accidentally deposit important files onto the desktop trash bin.
  • Consistent Workspace Layout: Aligns Ubuntu’s visual aesthetics with modern, distraction-free desktop environments.

Method 1: Hide the Trash Icon via Ubuntu Settings (Graphical)

In modern Ubuntu releases, desktop icon preferences are natively integrated into the system configuration application:

  1. Open the Settings app from your Applications grid or by clicking the top-right system status menu and selecting the settings gear icon.
  2. In the left-hand navigation pane, click on Ubuntu Desktop.
  3. Locate the section titled Desktop Icons.
  4. Find the toggle labelled Show Trash (or Trash icon).
  5. Toggle the switch to the Off position.
  6. Optionally, toggle off Show Personal folder if you wish to remove the Home folder icon as well for a completely bare desktop.

The Trash icon will disappear from your desktop wallpaper instantly without requiring a system reboot or shell restart.

Method 2: Remove the Trash Icon via Terminal (GSettings)

If you manage your workstations via terminal scripts or prefer a quick one-line command:

  1. Open your terminal by pressing Ctrl + Alt + T.
  2. Run the following command to update the Desktop Icons NG (DING) configuration schema:
    gsettings set org.gnome.shell.extensions.ding show-trash false
  3. Press Enter.

The command updates your GNOME shell preference in real-time, removing the Trash icon immediately.

Comparison: Desktop Trash Icon Enabled vs Disabled

Factor Desktop Trash Enabled (Default) Desktop Trash Disabled (Clean)
Wallpaper Cleanliness Permanent trash can icon overlaid on wallpaper Completely clean, unobstructed desktop view
Access Redundancy Triple access: Desktop, Dock, and Files sidebar Dual access: Dock and Files sidebar
Drag-and-Drop Drag Safety Accidental drop target on wallpaper Safe canvas without accidental trash drop targets
Reversibility N/A Instant one-click toggle to restore anytime

How to Access the Trash Bin Once Removed from Desktop

Removing the desktop icon does not delete or disable trash functionality. You can continue managing discarded files through these standard access points:

  • The Ubuntu Dock: Click the permanent Trash icon pinned at the bottom of the Ubuntu Dock launcher.
  • Files Manager: Open the Files app (press Super and launch Files) and click on Trash in the left sidebar bookmark list.
  • Terminal Emptying: To empty the trash from the command line at any time, run trash-empty (via the trash-cli package) or inspect ~/.local/share/Trash/files.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.