Special mime types for directories.

Thiago Macieira thiago at kde.org
Wed May 14 08:52:13 PDT 2008


On Wednesday 14 May 2008 17:40:39 Mildred wrote:
> Le Tue 13/05/2008 à 19:42 Thiago Macieira à écrit:
> > As far as I know, directory bundles are a concept existing only on
> > MacOS X. The file browsers on Linux/Unix will treat your directory as
> > any other directory.
>
> Why not allow directories to have mime types as well ?

I'm not saying it shouldn't be possible.

I am saying it is not possible right now. Since the OP was asking how to 
accomplish this with existing file managers, that's what matters.

> So would it be possible to slightly modify applications so they accept
> to test folders for mime type (I guess since magic couldn't be used,
> the detection should only rely on filename or extended attributes).

That's a can of worms to open. I am not sure it would be a "slight" 
modification. I could be proven wrong -- with code :-)

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/xdg/attachments/20080514/e019fc8d/attachment.pgp 


More information about the xdg mailing list