shared trash directories in the trash spec

A. Walton awalton at gnome.org
Fri Jul 4 16:24:49 PDT 2008


On Fri, Jul 4, 2008 at 7:14 PM, Andrea Francia <andrea.francia at gmx.it> wrote:
> 2008/7/4 David Faure <dfaure at trolltech.com>:
>>
>> > This is all pretty bad, and the current solution to this in both KDE4
>> > and gnome (gio) is that trash to FAT/NTFS partitions is not allowed.
>
> Help me to solve this enigma, the GNOME support or not the Trash Spec?
> In which version?
> I understand that there is a protocol implementation of trash:/ but it seems
> that is not yet used by nautilus.

As of Nautilus 2.22, GNOME support the XDG Trash specification through
GIO and the GVFS-Trash backend. You can find the code for this backend
here:
http://svn.gnome.org/viewvc/gvfs/trunk/daemon/
and GIO is in GLib:
http://svn.gnome.org/viewvc/glib/trunk/gio/

-A. Walton

>
>>
>> Andrea, would this also solve your problem?
>
> Ideally I would prefer an implementation that uses the Windows Recycle Bin
> data structure in a NTFS, or FAT partitions.
> But I don't know if there is a publicly specification of these data
> structures and how it could be easy find and implement them (the ReactOs has
> a Recicle Bin?).
>
> From another perspective there are many usb stick with VFAT partition that
> are used only on non Windows systems, on these cases the Windows native data
> structure is not needed and the shared .Trash/ dir could be useful.
>
> In any case I think that the .Trash/shared directory should be used only
> after ask to create it.
> For example an implementation could ask to the user "I'm not able to trash
> this file because theres is not a trashcan, can I create it?".
>
> --
> Andrea Francia
> _______________________________________________
> xdg mailing list
> xdg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xdg
>
>


More information about the xdg mailing list