Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have items on my trash (I know they are there, and they're indeed shown in ./.local/share/Trash), but when I open the trash, it doesn't list anything (0 elements), although there still is a button 'empty trash'.
I don't want to delete these files. I would just like to know why they are not listed in the trash that opens with the file explorer.
And by the way, I just noticed something else. When my mouse hovers over the trash icon, it says there are 37 elements in the trash, yet when I click on the icon, nothing is listed in the explorer, and it says 0 elements in the bottom.
hi,
yes it might be a permission issue, this account has some restrictions. But which restriction would forbid to access the current user's own trash, specially if it is still accessible in its real location ?
Anyway,
ls -ld .local/share/Trash/ returns
drwx ------ fezziks fezziks .local/share/Trash/
ls -l .local/share/Trash/ returns
drwx------ fezziks fezziks expunged
drwx------ fezziks fezziks files
drwx------ fezziks fezziks info
ls -l .local/share/Trash/expunged/ is empty
ls -l .local/share/Trash/files/ returns all the files I expect to be in the trash (around 40).
ls -l .local/share/Trash/info/ gives the same files as above with a .info extension.
hi,
ls -l .local/share/Trash/files/ returns all the files I expect to be in the trash (around 40).
ls -l .local/share/Trash/info/ gives the same files as above with a .info extension.
And who are the owner and the group of the files that you found?
jdkaye, yes I have tried, it doesn't show up in the shortcut of the bottom right corner, but it is in the ~/.local/share/Trash
Wim, the current user (me) is the owner of the file, and the group is composed of only one person (me).
OK, at a loss here. Assuming that the permissions are as I showed in my first reply, the only thing I can think of is that you deleted hidden files which will be hidden in the trash as well; but it is a bit far fetched, I think.
Sorry for not being able to help further; I hate to admit defeat. You can consider to ask the question on launchpad or file a bug report there.
PS
Found a bug report on launchpad; https://bugs.launchpad.net/ubuntu/+s...per/+bug/42471 (I hope the link works if one is not logged in); applies to Dapper Drake (6.06). If you're still running Dapper, you might want to consider to upgrade.
Last edited by Wim Sturkenboom; 09-09-2011 at 07:30 PM.
Reason: added PS
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.