Files Application crashes whenever I try to empty the trash can
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.
Files Application crashes whenever I try to empty the trash can
hi all,
my files application c/ Nemo rashes whenever I try to empty the trash can. I if recall properly, this problem ocurred after I once used the xkill command to terminate a stalled program and I suspect this caused the trash can problem. I would be grateful for advice how to make the trashcan work again and how to abort stalling problems without causing collateral damage such as this.
here is a follow up on a recurring problem i keep having: nemo keeps crashing on my laptop whenever i try to empty the trash can, which means that i cannot empty the trash can at all. unfortunately, when i go to local/share in terminal, where the trash can folder used to be which i would then delete according to jeremys advice (see above), there is no trash can folder anymore. thus i cannot delete it and jeremys advice no longer works for me. my computer is now kind of crammed with folders that arent really in the trash can and that arent visible in their previous locations either. i can deduct that from the indication of free memory space which should be much higher of those folders i tried to delete had actualy been deleted.
the problem seems to habe to do with an external HD which i had plugged in and on which i tried to delete various folders. can anyone suggest how to fix this problem which seems to go from bad to worse ?
If you have an external disk or USB key containing a Linux filesystem (such as EXT4) on which you have deleted some files and you umount it (so that it can be removed safely), you might get asked if you want to "empty waste basket" - but if not, have a look on the external disk for hidden files/directories.
You should hopefully see a .Trash (or similar) directory at the top level - delete this using nemo.
If you have deleted files from nemo whilst signed on as root (or using nemo "open as root"), the Trash directory ought to be in
Code:
/root/.local/share/
This won't appear on your desktop on your machine with a normal signon.
You could try creating a dummy file on your desktop, then delete it using nemo - which should create a Trash directory - which can then be deleted.
Otherwise, you are going to have to do a file search to find a known deleted file.
i donīt have my laptop on me at the moment, but i will try it later. i seem to remember though that there was no trash-folder on the external HDīs top level, but this might have been the case in nemo application, i am not sure i actually checked this in terminal.
the idea with the dummy file i have had myself already, the thing is that i can move it into the trash can in nemo but i cannot open the trash can to delete it.
i searched for "trash" (in nemo though, not quite sure how to do it in terminal) but did not find the trash can i am looking for. good idea though to search for a "deleted" file with a known name. will try that, too.
one thing i definitely did not try yet is searching in the root register. since i am the only one who uses the computer i did not bother defining any users, i just start the computer or type in password when it has gone into suspension-mode. so i have only be searching
if i open the root folder in nemo there is only the empty folder desktop and if i click on the trash can icon, it says
Sorry, could not display all the contents of "trash": Operation not supported
however, i found the hidden trash file on the external HD and deleted it - i am quite sure i had the Show Hidden Files option on but maybe it does not automatically apply to external HDs? anyway the problem is solved for now and i hope it won't come back in any other disguise. thanks, jeremy, and a good year 2016 to everybody.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.