[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Reason for both .local and .Trash?
From:       "Aaron J. Seigo" <aseigo () kde ! org>
Date:       2007-06-18 5:37:03
Message-ID: 200706172337.09935.aseigo () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Sunday 17 June 2007, Thiago Macieira wrote:
> Lexual wrote:
> >Is there any particular technical advantages betweens these two
> > approaches?
>
> I have no idea about the GNOME trash specification.

i believe it's supposed to follow the xdg trach spec.

> >Is there any reason why kde4 can't have a better unified solution?
>
> We have. It's called the freedesktop.org Trash specification:
> http://www.freedesktop.org/wiki/Specifications/trash-spec

http://www.ramendik.ru/docs/trashspec.html

and yes, it defines the directory as "For every user2 a "home trash" directory 
MUST be available3. Its name and location are $XDG_DATA_HOME/Trash ; 
$XDG_DATA_HOME is the base directory for user-specific data, as defined in 
the Desktop Base Directory Specification ."

the Desktop Base Directory Specification says: "$XDG_DATA_HOME defines the 
base directory relative to which user specific data files should be stored. 
If $XDG_DATA_HOME is either not set or empty, a default equal to 
$HOME/.local/share should be used."

so .local is indeed the right place for trash. not surprising we got it right 
since dfaure did the implementation ;)

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

Full time KDE developer sponsored by Trolltech (http://www.trolltech.com)

[Attachment #5 (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic