First of all, if not already installed, install gnome-tweaks with
sudo apt install gnome-tweaks
Now go to the extension tab in the app and click on the gear icon next to desktop icons. Uncheck show trash and uncheck show home directory. Now run:
sudo apt install xfdesktop4 thunar
We are basically pulling in the components of xfce that deal with desktop icons. Now open startup applications and add an entry with
- Name: Desktop icons
- Description: whatever
- Command: bash -c "thunar --daemon & sleep 1 & xfdesktop"
Now reboot and you should have completely functional icons that you can customize to your liking by right clicking on the desktop (i.e. change the wallpaper via this menu, the option in settings won't work anymore).
- remove the home folder from the desktop because it will open in thunar and not nautilus.
- remove show mounted devices because ubuntu shows them already in the dock
An alternative would be to install desktop folder by clicking here (download the .deb file of the latest release). Open he app (it will automatically set itself to autostart), then reboot and you should have a more functional desktop.
Drag and drop doesn't work as well as the other alternative and if you're not using english as the system language it will create a duplicate desktop folder named "Desktop" (instead of the italian "Scrivania" for example).