This has bugged me for a while, I googled for days and have not yet found a solution.
What happened: When I click on Trash in nautilus, it shows “Sorry, could not display all the contents of “trash:///”: The specified location is not supported.” https://image.ibb.co/htMXWc/Screenshot_from_2018_04_08_01_01_04.png https://ibb.co/mkqRrc https://ibb.co/mkqRrc
What I did: I occasionally recover my system using backintime, I do full file system backup and recover except my home folder.
What I tried: I have Trash folder in ~/.local/share/, and I have /files and /info folders in my Trash folder. The permission is 700. I can use move to Trash from file manager, but I have to use terminal to go the ~/.local/share/files and rm to empty trash. I have tried other file manager other than nautilus, that I have the same problem, so it seems not to be the problem with the file manager. And I tried creating a new user, but the new user still cannot access to the Trash. So it seems to be some global setting.
Where is the setting that I can change the directory of my trash or get this fixed? PS: Desktop Environment: Gnome
I only have one user. And Trash folder exists in my home directory.
Here is the my output:
ls -ld ~/.local/share/Trash/*
drwx------ 2 yili users 4096 Apr 8 01:08 /home/yili/.local/share/Trash/files
drwx------ 2 yili users 4096 Apr 8 01:08 /home/yili/.local/share/Trash/info
ls -lh ~/.local/share/Trash/files/
-rw-r–r-- 1 yili users 149K Apr 7 23:05 ‘Screenshot from 2018-04-07 23-05-08.png’
I tried deleted trash folder, and right click any file, select “move to Trash”, then a new trash folder was created, which I can access through terminal or manually. However, the trash menu in the left of file manager is still not accessible, same error.
I can’t. Those ‘Places’ are specified in ~/.local/share/user-places.xbel. And trash is obviously a specially one that is not even showing in user-places.xbel, thats why I can’t get it fixed, because I do not know where it is configured. You can only remove those ‘Places’ added by user.