Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
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.
Hey folks, just wondering if there's an explanation for this issue I've gotten a couple times. I'm not sure if it's just a PEBKAC error, or an internal one.
When I tried to move a small batch of files to the trash, less than 400MB total, I got a rather incorrect-looking error message. It read:
"The trash has reached its maximum size! Cleanup the trash manually."
The problem is that the trash was completely empty. I double-checked to be certain, and sure enough, there were 0 bytes being occupied in the trash bin. It may be important to note that I was logged in as a normal user, not as root.
Now what I did was opened a dialog that let me change the maximum trash capacity. The trash was then on a maximum capacity of 2GB, obviously more than enough to allow for less than half a Gigs' worth of files. I changed the settings so that there was no maximum capacity at all, and the problem seems to be solved. But yet...
Why was the error there in the first place? Sure, it's working fine now, but I feel that my kludging shouldn't have been necessary.
Any ideas on why the error message popped up in the first place? If more information is needed, I'll be glad to provide it. Thanks in advance.
Next time it happens, try:
lsof | grep '(deleted)'
This will give you a list of deleted files that are still open: it is possible that a program still has a large deleted file open (which will not show up in any file listings but still take up disk space until released). Rebooting (actually, even restarting X or logging out/in) should fix the problem too.
did you check all locations in ~/.local/share/Trash for each user id that logs into your machine? I ran into this issue a long while back and had to clean this out manually. Once it was cleaned one time, it didn't have to be done again.
forgot to mention, I did not rm the dirs. edit the metadata file in the path I gave. The number in there is probably wrong and can be reset to zero. It will probably keep the correct number after you zero it, mine did. I have a link for reference if you need it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.