how to delete home and trash from desktop ubuntu code example
Example: remove home icon ubuntu
# Ubuntu 18.04 LTS
gsettings set org.gnome.nautilus.desktop trash-icon-visible false
gsettings set org.gnome.shell.extensions.desktop-icons show-trash false
## Ubuntu 20
gsettings set org.gnome.shell.extensions.desktop-icons show-trash false
gsettings set org.gnome.shell.extensions.desktop-icons show-home false