Shaun Jackman wrote:
> Which desktop environments use update-desktop-database?
> Experimentation shows that KDE does not. update-desktop-database does
> not have a man page (bug: #284831)  so I'm not sure what this utility
> actually accomplishes.

Basically, it indexes the MimeType information from $XDG_DATA_DIRS/applications/*.desktop into $XDG_DATA_DIRS/applications/mimeinfo.cache.

The freedesktop.org Desktop Entry Specification[0] has more info at <http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-0.9.4.html#mime-caching>

I assume that anything implementing the Desktop Entry Spec requires, or will require in the future, the use of the mimeinfo.cache file. In Sarge, this includes Gnome 2.8. On my system, Gnome didn't know that Azureus could open application/x-bittorrent files until I ran update-desktop-database, hence the bug report. ;)

XFCE 4 and Rox also use the spec, though I don't know if they use mimeinfo.cache. I actually though that KDE 3.3 used it; perhaps its implementation was incomplete until KDE 3.4 (or later? I haven't used KDE for a while so I'm not up to speed on such things).

> Cheers,
> Shaun

--
Sam Morris
http://robots.org.uk/

PGP key id 5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078.


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



Reply via email to