shared-mime-info question

Thomas Leonard tal00r at ecs.soton.ac.uk
Wed May 12 16:28:31 EEST 2004


On Wed, May 12, 2004 at 10:04:21AM +0200, David Faure wrote:
[...]
> Can you (or can I) add a new mimetype application/x-executable-script 
> (if possible with  sub-class-of="text/plain", but this is in fact
> missing in many places)

You probably want application/x-executable-script as a subclass of
application/x-executable, which is what you'd use to detect whether to
exec() a file.

The alternative is to make all the scripts inherit from both
application/executable and text/plain, rather than creating a new type.
Either way is fine by me.


-- 
Thomas Leonard			http://rox.sourceforge.net
tal00r at ecs.soton.ac.uk	tal197 at users.sourceforge.net
GPG: 9242 9807 C985 3C07 44A6  8B9A AE07 8280 59A5 3CC1




More information about the xdg mailing list