Trash strange error message

i’m trying to erase files but getting an error : “Trash has reached it’s maximum size! Cleanup the trash manually”. The only way to erase is by holding the shift button pressed which erases the files without going through the trash.

The error is from plasma workspace, but when checking the trash widget, it is empty. Also, it is set to be 10% of the drive size, which has more than enough empty space.

Any ideas ?

Enable the delete option in the context menu

dolphin - settings - general - context menu

then just right click delete

or : shift+delete does the same

Please post the output of

du -h ~/.local/share/Trash/files

[As regular user]

i got:
4.0K /home/ronen/.local/share/Trash/files

shift+delet is the only thing that work right now, but i still want the trash bin functionality.

Argoson wrote:
> --------------------
> > > du -h ~/.local/share/Trash/files
> --------------------
>> [As regular user]
> i got:
> 4.0K /home/ronen/.local/share/Trash/files

so, i wonder if the trashcan in root’s account is stuffed full…

and, wonder how it got that way…if it is full…


palladium

how to check that ?

Just run the same command as root.

~ = /home of the respective user, so in your users case /home/ronen/, in your roots case /root/]

Although I doubt roots trashcan (if existing at all) could affect a trashcan which probably isn’t even on the same partition.

Become root
su
root password

du -h /root/.local/share/Trash/files

Argoson wrote:
> palladium;2135509 Wrote:
>> Argoson wrote:
>>> --------------------
>>> > > du -h ~/.local/share/Trash/files
>>> --------------------
>>>> [As regular user]
>>> i got:
>>> 4.0K /home/ronen/.local/share/Trash/files
>> so, i wonder if the trashcan in root’s account is stuffed full…
>>
>> and, wonder how it got that way…if it is full…
>>
>> –
>> palladium
>
> how to check that ?
>
>
you are logged into kde/gnome/etc as a normal user, correct?
it is NEVER required to log into those as root…so dont do it because
it is never required and it is always trouble…

so, open a terminal
type


su -

do NOT forget the - and then hit enter
give root password
type


du -h ~/.local/share/Trash/files

and paste results back here…


palladium

you’re right. i get a file not found error.

Anything in ~/.local/share/Trash/info

how about df

SOLVED

I opened the configuration of the trashcan, and told it to delete the biggest files from trash when it reaches it’s limit. that way the system cleans it automatically.

problem solved.

gogalthorp wrote:
> Become root
> su
> root password
>
> du -h /root/.local/share/Trash/files

an alternate method, and the one i prefer for several reasons is to use

su -

because in so doing you will automatically take on root’s environment
and then the command which was previously used as user:

du -h .local/share/Trash/files

will automatically look only in /root/.local/etc


palladium

Hi.
I’m using OpenSUSE 11.4 and that message appears trying to delete a lot of files. My trash can was configured with LIMIT TO A MAXIMUM SIZE checked… I’m unchecked it, clicked OK and now its working fine. No problems until now!