Special mime types for directories.

Thiago Macieira thiago at kde.org
Tue May 13 10:42:24 PDT 2008


On Tuesday 13 May 2008 16:56:17 Guillaume Schmid wrote:
> I would like only the directory to provide this type. How can I achieve
> this ?
>
> Does anybody knows if there is a file browser that will handle this
> properly and will allow me ty configure my thumbnailer ?

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.

You may try to add a .directory file to your dir, which tries to set the MIME 
type and an icon. It may be wholly ignored, since the MIME type should derive 
from whatever the system uses for directories (I don't know if 
inode/directory is a KDE concept or a global one).

As for thumbnailing, you're not going to get it cross-desktop, period.

-- 
  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/20080513/fcd358de/attachment.pgp 


More information about the xdg mailing list