Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Trash is not accessible!

  1. #1

    Default Trash is not accessible!

    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."



    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
    Thanks

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,166

    Default Re: Trash is not accessible!

    Do you have ~/Desktop/trash.desktop and what is inside?
    Henk van Velden

  3. #3

    Default Re: Trash is not accessible!

    If you want to see what's in that folder, open the terminal > su -> nautilus> and follow the path> /root/.local/share/Trash/files/
    Here you find the files you put in the Root Trash

    I use bleachbit as root to clean that folder

  4. #4
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,166

    Default Re: Trash is not accessible!

    Quote Originally Posted by enziosavio View Post
    If you want to see what's in that folder, open the terminal > su -> nautilus> and follow the path> /root/.local/share/Trash/files/
    Here you find the files you put in the Root Trash

    I use bleachbit as root to clean that folder
    Why do you think the OP is talking about a trash of the root user?

    That should not exist btw, because trash is typical for a desktop environment and as root you should never run a desktop environment.
    Henk van Velden

  5. #5
    Join Date
    Jun 2008
    Location
    Stoney Stanton - England
    Posts
    1,104

    Default Re: Trash is not accessible!

    Never used gnome but have had a similiar issue with kde. To resolve that I deleted the trash folder as root and the system then created a new trash folder which worked fine.

  6. #6

    Default Re: Trash is not accessible!

    Because it's like that, I have Gnome, and it's always been like that.
    trash: /// is like a link, and it's trash when you start Nautilus as a super user ... trust me

  7. #7
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,862
    Blog Entries
    14

    Default Re: Trash is not accessible!

    Hi Frank, welcome

    IMO you're missing some points here:
    - Each user has their own /home/USERNAME/.local/share/Trash,
    - This Trash-folder is for that user only.
    - If you restore things from backup, make sure that what you copy into a user's homedir is owned by that user.

    I'd like to see output of
    Code:
    ls -ld ~/.local/share/Trash/*
    and
    Code:
    ls -lh ~/.local/share/Trash/files/
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  8. #8
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,166

    Default Re: Trash is not accessible!

    Quote Originally Posted by enziosavio View Post
    when you start Nautilus as a super user ... trust me
    1. you should probably not start Nautilus as superuser (but it might be a bit more acceptable then running the desktop as superuser);
    2. the OP nowhere talks about running Nautilus as superuser.
    Henk van Velden

  9. #9

    Default Re: Trash is not accessible!

    Quote Originally Posted by hcvv View Post
    Do you have ~/Desktop/trash.desktop and what is inside?
    I do not have ~/Desktop/trash.desktop, should I? I only have ~/Desktop/Home.desktop

  10. #10

    Default Re: Trash is not accessible!

    Quote Originally Posted by Knurpht View Post
    Hi Frank, welcome

    IMO you're missing some points here:
    - Each user has their own /home/USERNAME/.local/share/Trash,
    - This Trash-folder is for that user only.
    - If you restore things from backup, make sure that what you copy into a user's homedir is owned by that user.

    I'd like to see output of
    Code:
    ls -ld ~/.local/share/Trash/*
    and
    Code:
    ls -lh ~/.local/share/Trash/files/
    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

    and,
    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'

    Thanks

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •