Hide or Unhide Trash Icon in Ubuntu Dock
Hiding or showing the Trash icon on your Ubuntu dock lets you clean up your desktop and keep only the apps you actually use. Ubuntu 22.04 LTS and newer versions place this deleted-files shortcut right on the side panel by default.
The dock is the vertical bar on your screen that holds your favorite programs. Removing the Trash bin takes just a few clicks in the settings menu whenever you want a simpler desktop look.
Open System Settings, navigate to Appearance, and then configure dock behavior. Toggle the switch for the Trash icon to show or hide it from the Ubuntu Dock.
How to hide or unhide the Tash icon on the Dock in Ubuntu Linux
You can hide or unhide the Trash icon on your Ubuntu Dock directly from System Settings. This change tidies your desktop by either removing the Trash icon if you don’t use it often, or bringing it back for quick access.
Ubuntu Linux stores most system configurations in the System Settings panel, a central hub for managing user accounts, updates, and preferences.

Alternatively, you can access Settings by clicking the System menu in the top-right corner of your desktop’s top bar.
Then, select Settings, as shown below.

From there, click on the Appearance tile to open that section in the Settings app.

Within System Settings, under the Appearance panel and the Dock section, select "Configure dock behavior" to expand the Ubuntu Dock's appearance options.


That should do it!
Conclusion:
Personalize the desktop by keeping the Dock clutter-free or retaining quick access to deleted items.
- The steps provided are an easy way to manage the visibility of the Trash icon on the Dock in Ubuntu Linux.
- Users can hide or unhide the Trash icon using the System Settings panel or the top-right System menu.
- This feature allows for a personalized desktop, allowing users to keep the Dock clutter-free or retain the Trash icon for convenient access to deleted items.
Where is the trash icon in the dock?
How do I show the trash icon in Ubuntu?
Open the application and head to `org/gnome/shell/extensions/ding`. Scroll down to find the 'show-trash' switch, which controls the Trash icon's visibility, along with other desktop icon settings. That's all.
How to remove trash icon from desktop Ubuntu?
Remove trash icon from the desktop using Desktop Icons Settings. Go to Desktop Icon Settings from desktop right click. Inside the new dialog box, toggle the button for trash. That's it.
Was this guide helpful?
About the Author
Richard
Tech Writer, IT Professional
Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.
No comments yet — be the first to share your thoughts!