Opensuse 11.2 64-bit - Deleting large file impossible

I am trying to delete a large file (122 GB) but get an error message:

Konquerror-error
The trash has reached its maximum size!
Cleanup the trash manually.

Same in Dolphin, I cannot delete it and get exactly the same message on another machine as well.

Trash is empty and I have enough space on my harddisk, so I have no clue what causes this problem.

Any help appreciated, thanks.

You need to enable bypass waste and have delete in the menu
or SHIFT+Delete

I assume that you really want to delete that file (as opposed to just moving it into a trash section). To do so start a console and from the command line use the ‘cd’ command to go to the directory where the file is. Then do

rm <filename>

which will remove the file once and for ever.

many thanks, yes that did it.

:wink:
Cool isn’t it!

It would be nice if Konqueror displayed something along the lines: Sorry this file is too large to save a copy in Trash, do you want me to delete it right away? That would be one less paper cut to puzzle users.

ken yap wrote:

>
> It would be nice if Konqueror displayed something along the lines: Sorry
> this file is too large to save a copy in Trash, do you want me to delete
> it right away? That would be one less paper cut to puzzle users.
>
>
You can configure the trashcan so that it will not be limited to 10% of the
diskspace.
It’s pointless anyway because the trashcan is on every partition where you
throw something in it anyway.
Look at the hidden files.

In ~ it’s in ~/.local/share/Trash
On every other partition it’s in .Trash-1000. (or something like that)

So if you can store a 122GB file on your disk you can also move it to trash.
It won’t take up more diskspace or something, it’s just being replaced to a
place on the same disk :s


Chris Maaskant

You’re missing the point. The user should not have to configure something (increasing the percentage will only raise the limit before this problem is hit), and it should give the user the way to get around the problem. Maybe something like: Sorry this file is too large to save a copy in Trash (BTW I don’t care if copy means copy or move), do you want to delete it immediately? Or alternatively, Sorry this file is too large to save a copy in Trash, use Shift-Delete if you want to delete it immediately. Then we wouldn’t see posts like this.

Even Windows, which we love to hate, tells me that it has to delete the file immediately because it’s too large to go into the trashcan.

It’s paper cuts like these that need to be taken out of desktop Linux for the vast majority of non-techo users. You and I know about rm, but most users don’t want to know.

ken yap wrote:

> You’re missing the point. The user should not have to configure
> something (increasing the percentage will only raise the limit before
> this problem is hit)

I know i have it configured so there’s no limit at all bescause it’s
pointless to have a limit for the trashcan.

So i’m saying there should be no limit, and so the user won’t have to
configure anything.


Chris Maaskant

I think on some (all?) network filesystems, it has to do a real copy to put things in the Trashcan as there is no move or link, so that takes much longer.

Nonetheless the point is Konqueror should enlighten the user with ways to get around the problem instead of saying, no you can’t do this. If that includes telling the user she can set it to no limit on local filesystems, so be it.

I have found that using a super user file browser to delete files owned by root will fill the trashcan with files not accessible or even visible to the user login and the user trashcan becomes unusable. Perhaps they go into a root login trashcan and fill the space allocation (which is a good idea to have control of this allocation size)?

I logged in as root and emptied the trashcan then exited back to my user login. Not pretty, but problem solved.

The Dolphin in 11.2 which appears to share the new Konqueror style is now finally usable (for me at least). It has a configuration setting to put “delete” into the right click menu. Then you can decide if you want the “do really want to do this” message or not for delete. It took an expedition to find the configuration setting for showing file permissions, etc., but its there hiding same as in the new Konqueror.

Enable a trashcan by right clicking the panel/ desktop (wherever you want to put it) and select “add widgets”
and look for “trashcan”
drag and drop should work for it.
Once the trash app is added right click the trashcan icon and select “trashcan settings”
you can unlimit the max size from here.

BTW it’s -1000 because that’s your uid. The first user id on modern Linux systems is 1000. And obviously you don’t want your trashcan mixed up with other people’s.