How to Remove Ubuntu Trash Can Icon From Ubuntu Dock Panel
Starting from Ubuntu 21.10 Impish Indri you will get the trash can icon on Ubuntu dock panel. Ubuntu moved trash can from Desktop to Dock. If you are not a fan of this move and want to completely remove the trash can from Ubuntu dock, then follow below tips to remove or hide it from dock.
Remove Ubuntu Trash Icon From Ubuntu Dock
Open your terminal command-line tool (ctrl+alt+t) and run below command to remove it instantly.
gsettings set org.gnome.shell.extensions.dash-to-dock show-trash false
Show Ubuntu Trash Icon in Ubuntu Dock
If you changed your mind and want to show trash icon on your Ubuntu dock panel, then in terminal run below command.
gsettings reset org.gnome.shell.extensions.dash-to-dock show-trash