<br><br>Thanks for all the replies everyone, I think that gnome would really<br>benefit from a tool to do this.<br><br>But looking from the various links you all given the following seems to<br>have worked, although I'm still a bit hazy on it.
<br><br><br>I used the mime-editor application from here<br><br><a href="http://rox.sourceforge.net/desktop/MIME-Editor">http://rox.sourceforge.net/desktop/MIME-Editor</a><br><br>to add a mime type, in this case <br><br>application/iwl
<br><br>This seems to create a file in ~/.local/share/mime/packages called<br>Override.xml<br><br><?xml version="1.0" ?><br><mime-info xmlns="<a href="http://www.freedesktop.org/standards/shared-mime-info">
http://www.freedesktop.org/standards/shared-mime-info</a>"><br> <mime-type type="application/x-iwl"><br> <comment>CIF move application</comment><br> <glob pattern="*.iwl"/></mime-type>
<br></mime-info><br><br>after logging out and logging in again nautilus listed files with suffix<br>.iwl differently but when I clicked on them they changed to type text/plain<br>and double clicking caused a warning to appear saying the file contents
<br>indicated its a plain/text file but the application type was of "CIF<br>move application" (I assume from the comment tag)<br><br>So I added<br><br> <sub-class-of type="text/plain"/><br>
<br><br><?xml version="1.0" ?><br><mime-info xmlns="<a href="http://www.freedesktop.org/standards/shared-mime-info">http://www.freedesktop.org/standards/shared-mime-info</a>"><br> <mime-type type="application/x-iwl">
<br> <sub-class-of type="text/plain"/><br> <comment>CIF move application</comment><br> <glob pattern="*.iwl"/></mime-type><br></mime-info><br><br>
Once I had done this nautilus allowed me to assign a default application<br>separately from the default plain/text type application.<br><br>thanks,<br><br>Dave.<br><br><br><br><div><span class="gmail_quote">On 10/10/06, <b class="gmail_sendername">
NoOp</b> <<a href="mailto:glgxg@mfire.com">glgxg@mfire.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">David Holden wrote:
<br><br>><br>> Hi Andy, thanks for the reply. Sorry I was probably not specific enough, the<br>> problem I have is I have a "local" mime type, e.g.<br>><br>> file.iwf<br>><br>> the iwf type is specific to us.
<br>><br>> I want to associated this type with an application.<br>><br>><br>> However nautlius seems to associate all the file suffixes it does not know<br>> with type "text", so if I set the associate application with this file type
<br>> it does it for all "text" types which is not what I want.<br>><br>> I would like it to associate a particular application with all files with<br>> suffix .iwf.<br>><br>><br><br>These might help:
<br><a href="http://freedesktop.org/wiki/Standards_2fshared_2dmime_2dinfo_2dspec">http://freedesktop.org/wiki/Standards_2fshared_2dmime_2dinfo_2dspec</a><br><a href="http://freedesktop.org/wiki/Standards_2fAddingMIMETutor">
http://freedesktop.org/wiki/Standards_2fAddingMIMETutor</a><br><br><a href="http://acd.ucar.edu/~fredrick/linux/mime/">http://acd.ucar.edu/~fredrick/linux/mime/</a><br><a href="http://www.ces.clemson.edu/linux/fc4_desktop.shtml">
http://www.ces.clemson.edu/linux/fc4_desktop.shtml</a><br> [Fedora based info but useful anyway]<br><br><br><br>--<br>ubuntu-users mailing list<br><a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com
</a><br><a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br></blockquote></div><br>