Trash specification, version 0.1
David Faure
dfaure at trolltech.com
Thu Sep 2 15:51:27 EEST 2004
On Thursday 02 September 2004 12:56, Alexander Larsson wrote:
> On Thu, 2004-09-02 at 10:44 +0200, David Faure wrote:
> > On Thursday 02 September 2004 09:28, Alexander Larsson wrote:
> > > On Wed, 2004-09-01 at 16:24 +0200, David Faure wrote:
> > > > Hello all,
> > > > sorry for my silence the last 2 days, I was travelling back from aKademy
> > > > (KDE conference and developer meeting).
> > >
> > > No problems. There really is no hurry.
> >
> > Yeah it's just that the thread grew out of proportion :)
> >
> > > > Hmm :/
> > > > OK how about we make it
> > > > [Desktop Entry]
> > > > Path=/foo/bar/doc.txt
> > > > DeletionDate=....
> > > >
> > > > Then we benefit from the .desktop format escaping, and we can easily add
> > > > other information into the file, e.g. for caching purposes.
> > >
> > > Yes. One less file-type parser in the desktop is good. One less place to
> > > define escaping rules etc. I'm totally for this.
> >
> > Great. Let's add a Type=TrashInfo, so that other tools that
> > recognize the above as a desktop file don't mishandle it.
>
> Or maybe use "[Trash Entry]"?
That'd work too. I was suggesting [Desktop Entry] + Type=something
because that's more consistent with what we (kde) do with
Type=MimeType, Type=Service, Type=ServiceType etc., but those
are parsed more or less together, whether trash info files are in a well-specified
directory (we know what type they are before even opening them).
So OK for [Trash Entry].
--
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
More information about the xdg
mailing list