Dear Mime Type Gurus

Andy Choens dru at worldskip.com
Wed Apr 14 15:54:07 CEST 2004


I need your help.  I'm in the process of trying to really tweak xffm,
and I'm struggling.  So, I thought I would write you this little letter.

For starters, I like it when my xffm uses the correct icon for the
correct file type.  Any OOo file, like foo.sxw shows as a plain file,
not as a staroffice file.  This concernned me, so I dug around and
found:  "/usr/share/xffm/pixmaps/gnome/mime.xml".  I assumed there was a
problem with the mime typing.  I was wrong.  Here is an example:

<mime id="xf_vnd.sun.xml.writer"
icon="gnome-application-vnd.sun.xml.writer.png"/>

I checked for spelling and I checked for the existence of the file being
referenced.  Both check out.  So, I ask you.  Why, oh why does my
foo.sxw have this dull white paper-looking icon and not something to do
with swriter?

But, my troubles don't end there.  I also struggle assigning the correct
application to the correct file-type.  So, I found,
"~/.xfce4/xffm/applications.xml".  I thought this might be the answer to
all my problems.  My problem is pretty simple.  Thanks to:

<extension id=".tar.gz" application="file-roller"/>

the file myfoo.tar.gz will open with file-roller.  But, if I have
myfoo.1.0.1.tar.gz, it craps out and doesn't know what to do with it,
unless I prod it to use file-roller.  Now, I am perfectly capable of
telling xffm to use file-roller, but I'm a lazy sod and don't want to
work anymore than necessary.  I tried to stick a "*" into the xml file,
with no success.  Is something like a wild-card possible, and if so,
what does it look like?

Thanks in advance
--andy




Om Mani Padme Hume
        --Traditional Tibetan Blessing




More information about the Xfce mailing list