Dear developpers,

I am packaging specialised programs, such as perlprimer and treeviewx,
and I would like that when users double-click on a file they saved, the
file is opened with the relevant program. Apparently, the FreeDesktop
consortium operates this function through the internet content types
(MIME).

I have worked out the association between programs and suffixes: for
perlprimer for instance I declare the files suffixed by .ppr to be
text/x-perlprimer, and I declare that perlprimer can open files of this
type. I wrote a bried summary on the wiki:
http://wiki.debian.org/MimeTypesSupport (thanks Franklin for the
formatting).

For the association between an icon and a file type, I did not manage. I
found a document that tells how to give a name to the icons, and one
that tells where third party applications should store them:
http://standards.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html
http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html

I found the program dh_icons that appeared in the debhelper suite at
version 5.0.51. However, it seems quite GNOME-specific as it is not
fully compliant with the FreeDesktop standard. http://bugs.debian.org/448094 

Is there a "Debian way" to associate icons, file types and suffixes in
FreeDesktop-compliant environments ? For instance, the
/usr/share/icons/hicolor directory (the default one) supports many
different resolutions. Should a package support all of them ? Should
.icon files be written for all icons ? If they are identical, is it
better to use symlinks ?


Have a nice day,

-- 
Charles Plessy
http://charles.plessy.org
Wakō, Saitama, Japan


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to