mimetypes for directories?

Stef Bon stefbon at gmail.com
Sat Feb 5 04:05:55 PST 2011


2011/2/5 Křištof Želechovski <giecrilj at stegny.2a.pl>:
> Dnia piątek, 4 lutego 2011 o 11:36:12 David Faure napisał(a):
>> On Monday 20 December 2010, Stef Bon wrote:
>> > So my question is, is there already a specification on mimetypes for
>> > directories?
>>
>> No but you can inherit from inode/directory and add extra mimetypes.
>>
>> E.g. we have these in KDE: http://www.davidfaure.fr/2011/network.xml
>>
>> plus application/x-smb-server and application/x-smb-workgroup
>>
>>
>
> Custom media types are fine for virtual directories that do not exist on disk.
> For directories that actually exist on disk but require special treatment from the desktop, use role attribute.

Hi,

I've seen this answer from you earlier.

How do I use this role attribute??

Stef


More information about the xdg mailing list