How to Add Trash Icon to the Left Panel (Dock) in Ubuntu 19.10

Last updated: October 11, 2019

gnome shell

Now it’s easy to move the Trash Can icon from the desktop to the left panel (dock app launcher) in Ubuntu 19.10 with Gnome 3.34.

The default left panel with favorite application launcher icons in Ubuntu 19.10 is handled by Gnome shell extension ‘Ubuntu dock‘ (modified version of Dash-to-dock). Now it finally offers option to show or hide the Trash Can icon.

1.) First open Ubuntu Software, search for and install Dconf editor.

2.) Launch dconf editor, and navigate to org -> gnome -> shell -> extensions -> dash-to-dock.

Then scroll down, find out the key says show-trash and turn it on.

3.) You may also hide the Trash icon from the Desktop.

Navigate to org -> gnome -> shell -> extensions -> desktop-icons, and turn off the toggle for show-trash.

For those familiar with Linux commands, you can do the job by running single command in terminal:

1. To add trash can to the panel:

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

You can replace true with false in the command to remove the icon.

2. To remove trash icon from the desktop:

gsettings set org.gnome.shell.extensions.desktop-icons show-trash false

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 comment to let me know if the tutorial is outdated! And, notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via ubuntuhandbook1@gmail.com Buy me a coffee: https://ko-fi.com/ubuntuhandbook1 |

3 responses to How to Add Trash Icon to the Left Panel (Dock) in Ubuntu 19.10

  1. Very helpful and great tip.

    Thanks!

  2. thanks for the tip!

  3. I’m on 19.10. But show-trash isn’t one of the keys. What gives?