How to Remove Trash Can Icon From Left Dock Panel in Ubuntu 21.10

Last updated: October 19, 2021 — Leave a comment

This simple tutorial shows how to remove the trash icon from the dock in Ubuntu 21.10 Impish Indri.

Different to the previous releases, Ubuntu 21.10 puts the trash icon on left dock instead of the desktop. However, I don’t use the trash icon in either location. Instead, I removes files using right-click menu options, and go to trash via file manager left sidebar.

If you also find it useless, then here’s how to remove it either via a single command or by a graphical configuration tool.

Single command to remove Trash from the dock:

Press Ctrl+Alt+T key combination on keyboard to open terminal. When it opens, run the command below will tell Ubuntu Dock to hide the trash icon:

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

(Optional) The command takes effect immediately. If you change your mind and want to revert it back. Use command:

gsettings reset org.gnome.shell.extensions.dash-to-dock show-trash

Hide Trash from Ubuntu Dock via Dconf Editor:

For beginners and/or those hate Linux commands, an advanced graphical configuration tool “Dconf Editor” is present to do the job.

First, search for install “Dconf Editor” from Ubuntu Software if you don’t have it:

Next, search for and launch the tool from activities overview screen. When it opens, click on “I’ll be careful” button, and then navigate to “org/gnome/shell/extensions/dash-to-dock“.

There you’ll see all the settings for Ubuntu Dock. Scroll down and toggle off the slider icon for “show-trash” will do the trick.

That’s it. Enjoy!

Twitter

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 notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via [email protected]

No Comments

Be the first to start the conversation.

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> 

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.