Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I usually delete files permanently using Shift+Delete.

But once I accidentally sent an item to the Trash can using just Delete and got this error:

"Trash can touched maximum limit/Empty Trash can manually".

But when I view the contents of the Trash can, it appears that it is actually empty: no files, no hidden files and no used space.

My OS is Kubuntu 12.04.1 LTS.

share|improve this question
    
    
Ianhu how is that question related to mine? Also 1.I got my answer already, 2.That question is also newer than mine so my question is not in no way a duplicate. –  adi May 28 at 7:27

1 Answer 1

up vote 2 down vote accepted

The notice is based on the metadata file and not the actual content of the trash folder. Check for this file for the cache size (if you want):

~/.local/share/Trash/metadata

2 methods of getting rid of the notice:

  • Remove it and the system will create a new file when you delete a file as a user.
  • You can also edit the file and change size={number} to size=0
share|improve this answer
    
Thank you, it worked like a charm –  adi Jan 17 '13 at 16:07
    
I don't see metadata in ~/.local/share/Trash. I see just three subfolders: info, files, and expunged. Is metadata specific to Kubuntu? I'm on Lubuntu 12.10. –  user25656 Jan 17 '13 at 16:27
    
@vasa1 gnome and kde. not sure about lubuntu. –  Rinzwind Jan 17 '13 at 18:14
    
@Rinzwind, do you think it's worth making a separate question on this? –  user25656 Jan 17 '13 at 18:19
    
if you do make the Q as thorough as possible and include a reference to this topic as not working for you so it does not get closed as a dupe. @vasa1 I only see this msg icm with kde so it could be something else. –  Rinzwind Jan 17 '13 at 18:23

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.