andrea at andreafrancia.it
Tue Jun 22 05:32:04 PDT 2010
On Tue, Jun 22, 2010 at 1:12 PM, Wei Jiang <_weijiang_ at yahoo.com> wrote:
> The Trash specification is very good. It is intent for Unix, but it is good
> for Windows as well, with minor modification.
Windows already has a Recycle Bin which does (in my opinion) an excellent
IMHO adding another data-structure doing the same work probably will confuse
I have implemented it for a cross platform (Unix and Windows) file manager
> Acelet Filer at http://www.acelet.com/desktop/filer.html.
I would suggest to you to use the Windows Trash on your application.
> I would like to comment about the Trash specification from my experience:
> $XDG_DATA_HOME is difficult to implement.
> It is almost out of the capacity of trash implementer. Maybe I can modify
> .bashrc to add that environment variable, but the user may delete it later.
> I have checked Ubuntu 9.40 with Nautilus, $XDG_DATA_HOME is undefined.
The specifications doesn't mandate that there should be a XDG_DATA_HOME
variable. Actually if it is not defined you should use its default value (
Instead, I would suggest an alternative:
> Call the program, which implements the Trash specification, with option
> -info homeTrashDirName to get the trash directory name.
The problem is that there's not only one program implementing the Trash
Specification under the same environment.
They must use the same convention to interoperate without problems. In fact
they do. You can trash a file with trash-cli and restore it with Gnome or
If you decide to expand the Trash specification to Windows, I would like to
> contribute comments.
I think that they would be welcome.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the xdg