Trash: base dir in $HOME

Alexander Larsson alexl at
Fri Sep 3 10:49:32 EEST 2004

On Thu, 2004-09-02 at 22:56 +0200, David Faure wrote:
> On Thursday 02 September 2004 22:47, Mikhail Ramendik wrote:
> > (2) do we follow the base dir spec? The arguments about
> > evenrually moving it to $HOME/.var/Trash seem justified.
> Except that the base dir spec doesn't talk about .var at all.
> talks about $XDG_DATA_HOME, which defaults to $HOME/.local/share,
> and I would think that this makes a good candidate for the default location
> of the "Trash" directory (no leading dot needed then).
> $XDG_CACHE_HOME is "non essential, cached data", which IMHO doesn't apply
> to trash data - it's essential to the user, it's not a throwable cache, as discussed earlier.
> So my suggestion is $XDG_DATA_HOME/Trash - let's have the specs
> play nicely with each other, indeed :)

I'm really fine with everything, as long as there is some way to handle
backwards compat with old gnome using ~/.Trash.

 Alexander Larsson                                            Red Hat, Inc 
                   alexl at    alla at 
He's a notorious drug-addicted cop living undercover at Ringling Bros. Circus. 
She's a brilliant green-skinned fairy princess living on borrowed time. They 
fight crime! 

More information about the xdg mailing list