Fresh install of Xubuntu Xenial (16.04.3 LTS), but with an external harddisk that was previously formatted, used - and is still filled with data - I get the following error, whenever I try to simply hit the "delete" button (=move a file to the trash/wastebasket):
[SOLUTION]Unable to find or create trash directory
I couldn't find any proper documentation or method to properly initialize the ".Trash-$UID" directory.
($UID just stands for the UID of the user you're working with. Usually, if you're the first (and maybe only) user on a desktop installation, it's probably: 1000)
Everything I found was just postings where people manually fixed the access rights, ownership of that folder - or manually created it.
On my system, the folder was there, and I gave it 777 permissions (just to check). Didn't work.
Basically, make sure your user owns it, and the permissions are "rwx------":
- chmod 700 .Trash-1000
- chown $USERNAME:$GROUP .Trash-1000