GNOME File Associations

Nils Holland nholland at tisys.org
Fri Feb 25 11:30:05 UTC 2005


Hi everybody!

Well, I have a question. Actually, I guess that this question must have
been asked (many times) before, but having searched on Google for almost
an hour, I couldn't find anything helpful. :-(

Now, the issue is this: Let's assume I have an HTML file (.html) on my
system. I locate it in Nautilus and right-click on it in order to see
its properties. In the properties dialog that pops up now, I see that
the file is of "Type: HTML page" and of "MIME-type: text/html".
Additionally, it has a nice icon suggesting that it is a HTML page.

So far, so good. But now let's assume I have a file of a type GNOME does
not know (imaginary estension: .foo). I can now, in the preferences,
select that GNONE should open this type of file using a certain
application. But what I couldn't figure out is how to let GNOME know the
type of this file. In my Google search, I found several articles about
setting up a MIME-type for unknown files. But actually, in the file
properties as shown in Nautilus, there is not only a MIME-type being
shown, but also something I'd like to call "file type description". This
is listed in the properties as "Type:" (in contrast to "MIME-type:). In
case of the HTML document, this was "HTML page". So, how do I assign
such a "file type description" to a file GNOME doesn't know? In my
example, I'd probably like my .foo file to be shown as being a "Foo Test
File". Any ideas how to do that?

Greetings,
Nils




More information about the fedora-list mailing list