A “The trash has reached its maximum size! Cleanup the trash.” Error in OpenSuse 13.1
This error can be caused, for example, by moving something to the trash being root, and the trash belongs to a regular user. The problem is metadata for your trash.
1/Be sure your Trash is empty in reality. Remove your files if you see something. It’s to avoid problems. If you can’t remove a directory or a file from your Trash, just use your Console and the rm command. Your Trash should be empty before you go further.
2/ Go to /home/your_user_name/.local/share/Trash.
3/ Inside, you should see the metadata file
4/ Open it
5/ You see something like that:
[Cached]
Size=18446744073709484343
WTF! You see your Thrash being empty in reality and there’s much data (18446744073709484343 B that is about 17179869184 GiB) ! It’s a bug in KDE I think. Fortunately, we can solve this problem.
6/ Change Size to 0:
[Cached]
Size=0
7/ And now you will be able to move something to your trash without this irritating error. I moved to the Trash a Rapid Share shortcut from my desktop, and I see;
[Cached]
Size=70
8/ Now, empty your Trash as usual. You should see:
[Cached]
Size=0
It works!