Ubuntu 18.04 Remove Trash Icon from Desktop

First find the Trash related settings with gsettings command.

To disable the Trash Icon on desktop, run

Method 2

If you have gnome tweaks tool installed, go to Desktop, you have option to disable Trash Icon.

Ubuntu 18.04 remove trash

See Ubuntu 18.04