[Thunar-dev] Seperate "Trashfolder" on each Filesystem?

Alexander Skwar listen at alexander.skwar.name
Mon Apr 9 18:50:25 CEST 2007


Hello.

When I delete a file in Thunar 0.8.0 by pressing the <Del>-key or
by selecting "Delete File" from the context menu, the to-be deleted
file is moved to ~/.local/share/Trash/files. This is very fine, if
the to be deleted file is on the same filesystem as ~/.local/share/Trash/files,
because then the "delete"/move operation happens in "no time" and
cannot fail (if there are appropriate rights on the folder containg
the file).

But if the to-be deleted file is stored on another filesystem, Thunar
will also move the file to ~/.local/share/Trash/files, which means,
that it can take quite some time, if the to-be deleted file is big,
and the delete operation can fail, if the filesystem holding 
~/.local/share/Trash/files runs out of space, thanks to the "delete"/move
operation.

Is there a way to have Thunar create a trashfolder on every filesystem,
pretty much the way Nautilus does it? Because this way, deleting will
always be a move operation on the same filesystem.

I know that I could delete a file right away by pressing <Shift>+<Del>.
But then I'd lose the comfort of the trash can, which is also not quite
what I want.

Best regards,

Alexander Skwar
-- 
Three hours a day will produce as much as a man ought to write.
                -- Trollope





More information about the Thunar-dev mailing list