Hi Miriam, I am not a specialist to answer your question concisely and complete but I just want to suggest the logic I would follow...
I recall that dia package introduces such new kind of files, and it is
very popular, thus must have such an association setup correctly. Here
is the step of action I do
> apt-get source dia
> cd dia-0.94.0/
> find -iname \*desktop\*
./shapes/network/pc_desktop.png
./shapes/network/pc_desktop.shape
./dia.desktop.in
> less dia.desktop.in
[Desktop Entry]
Encoding=UTF-8
_Name=Dia
_Comment=Diagram editor
Type=Application
Exec=dia-gnome
Icon=dia_gnome_icon.png
Terminal=false
Categories=GNOME;Application;Graphics;
StartupNotify=true
MimeType=application/x-dia-diagram;
> ls debian/*mime*
4 debian/dia-gnome.mime 4 debian/dia.mime
> grep desktop debian/*
debian/changelog: * Added dh_desktop call to debian/rules (Closes:
#278723)
debian/changelog: * Set GNOME desktop category (closes: #148816,
#194598)
debian/rules: dh_desktop -i
debian/rules: dh_desktop -a
> grep mime debian/*
debian/changelog: * debian/: Added MIME handler with dh_installmime for dia
and dia-gnome
debian/rules: dh_installmime -i
debian/rules: dh_installmime -a
May be it is not complete - as I said I never have done it - but at
least it gives some hints about how to figure out on how to deal with
.desktop and .mime for your application :-)
--
.-.
=------------------------------ /v\ ----------------------------=
Keep in touch // \\ (yoh@|www.)onerussian.com
Yaroslav Halchenko /( )\ ICQ#: 60653192
Linux User ^^-^^ [175555]
pgpILrDjC7saa.pgp
Description: PGP signature

