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

Thread: no Trash

  1. #1

    Default no Trash

    I have a new installation of Tumbleweed.
    There is not a Trash Bin on the desktop and I cannot move files to the trash.

    Probably a simple fix, but need some help. Thanks.

    Code:
    When I try to move anything to the trash (w right mouse click)
    Unable to find or create trash directory for /backups/MovaviPhotoEditorSetupF.exe

    Code:
    dad@dad-pc:~> ls -ld ~/.local/share/Trash/files/
    ls: cannot access '/home/dad/.local/share/Trash/files/': No such file or directory
    Code:
    dad@dad-pc:~> ls -lh ~/.local/share/Trash/files/
    ls: cannot access '/home/dad/.local/share/Trash/files/': No such file or directory
    openSUSE Leap 42.2 64-bit / LXQT

  2. #2
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    11,161
    Blog Entries
    3

    Default Re: no Trash

    Could it be a permissions problem? Does the user own his own home directory?
    openSUSE Leap 15.0; KDE Plasma 5;

  3. #3
    Join Date
    Oct 2014
    Location
    Rotterdam
    Posts
    102

    Default Re: no Trash

    You show there is no ~/.local/share/Trash/files/ directory, but do you have ~/.local/share/Trash?

    Anyhow, I would just create these directories:
    Code:
    mkdir -p -m 755 ~/.local/share/Trash/files
    mkdir -p -m 755 ~/.local/share/Trash/info
    And give it a try.

  4. #4
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    2,083

    Question Re: no Trash

    Quote Originally Posted by idee View Post
    There is not a Trash Bin on the desktop
    Is the user GUI KDE, GNOME or, something else?
    • If KDE then, you can drop a “Trash” or “Wastebin” widget on to the Desktop – anywhere on the Desktop or, in the Desktop Folder on the Desktop …


    Quote Originally Posted by idee View Post
    and I cannot move files to the trash.
    As mentioned previously in this thread, possibly the missing “~/.local/share/Trash/” directory tree but, if KDE then, the KDE initialisation should have set them up …

  5. #5

    Default Re: no Trash

    Thank you all for the help.

    The /home dir permissions are me/users
    trash is working fine here

    The /documents (not in my home dir) and everything else, permissions are root/root owner, group, other are all "view content and modify"
    But cannot trash anything in this.
    I would think this should work, but it is not.
    Should I change the ownership of this drive to users?

    I ran without errors. What do I look for now?
    mkdir -p -m 755 ~/.local/share/Trash/files
    mkdir -p -m 755 ~/.local/share/Trash/info

    I am running LXQT

    So at this point, I am thinking the error message I get when trying to send something to the trash may be permissions.
    Does that sound right, before I change anything?
    How to I get a trash bin on the desktop?
    openSUSE Leap 42.2 64-bit / LXQT

  6. #6
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    2,083

    Smile Re: no Trash

    Quote Originally Posted by idee View Post
    Should I change the ownership of this drive to users?
    No.

    Quote Originally Posted by idee View Post
    I am running LXQT
    Then, I'm backing out of here …

  7. #7
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,329

    Default Re: no Trash

    All files and folders in your home must be owned by you not root.

    Do you ever log into a GUI as root this can cause ownerships to change.

  8. #8

    Default Re: no Trash

    All files and folders in your home must be owned by you not root.
    The /home directory is working fine and is owned by my user.

    The problem is two other data directories. Those are the ones that this install has set with root as the owner. However it looks like they are set for anyone to view and modify so other than trash they are working fine. Should the owner of those directories be changed to the user group? Would that solve this?
    openSUSE Leap 42.2 64-bit / LXQT

  9. #9
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,329

    Default Re: no Trash

    I'm confused is this "other" directory ie you log into as some other user and that other user does not have trash??? How did you create this other directory and who where you when you did???? Any directory to be used exclusively be a given user should be owned by that user. If you want a shared data area all that need access should be in the same group and the data area should be in that group. It is very unclear what you are doing and why.

    You should never ever log into a GUI as root you will break things

    .

  10. #10
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    11,161
    Blog Entries
    3

    Default Re: no Trash

    Quote Originally Posted by idee View Post
    The /home directory is working fine and is owned by my user.
    It might be that LXQt does not setup trash when you first login. Since I normally use Plasma (KDE), I would not notice that. By the time that I experiment with LXQt, Trash has already been setup by Plasma.

    Here, Trash seems to depend on a file "trash.desktop" in my Desktop folder, as well as ".local/share/Trash". I would guess you might be missing that "trash.desktop" file. It is probably copied to there from somewhere else on the system, but I'm not sure where.
    openSUSE Leap 15.0; KDE Plasma 5;

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
  •