Gentoo Archives: gentoo-devhelp

From: Nikos Chantziaras <realnc@×××××.de>
To: gentoo-devhelp@l.g.o
Subject: [gentoo-devhelp] Re: How to install MIME types?
Date: Thu, 25 Aug 2011 12:44:13
Message-Id: j35g1p$12v$1@dough.gmane.org
In Reply to: Re: [gentoo-devhelp] Re: How to install MIME types? by Peter Volkov
1 On 08/25/2011 03:32 PM, Peter Volkov wrote:
2 > В Чтв, 25/08/2011 в 13:48 +0300, Nikos Chantziaras пишет:
3 >> I running fdo-mime_desktop_database_update needed when installing a
4 >> desktop file with make_desktop_entry?
5 >
6 > I think no. fdo-mime_desktop_database_update() runs
7 > update-desktop-database that builds cache database of MIME types handled
8 > by desktop files. make_desktop_entry does not put "MimeType=..."
9 > into .desktop file and thus there is no need to run
10 > fdo-mime_desktop_database_update.
11
12 In my case it does though. The last parameter of make_desktop_entry is
13 a printf-formatted string that is put verbatim in the desktop file.
14 There I insert a MimeType that registers the application as a handler
15 for the previously installed MIME type (the xml file.)