[maemo-developers] Documentation of Maemo extensions for .desktop files?

From: Thomas Perl th.perl at gmail.com
Date: Fri Oct 15 15:40:03 EEST 2010
Hi!

2010/10/15 Dave Neary <dneary at maemo.org>:
> Does anyone know of any document which contains a complete list of
> custom fields & an explanation of their purpose, please? Or, if not, a
> pointer to the source code of whatever app/library parses these files on
> Maemo?

I think it's in Hildon-Desktop, although you have to look through the
source to extract the meaning of each field:

$ git grep 'X-Maemo'
[...]
src/launcher/hd-launcher-app.c:#define HD_DESKTOP_ENTRY_PRESTART_MODE
"X-Maemo-Prestarted"
src/launcher/hd-launcher-app.c:#define HD_DESKTOP_ENTRY_WM_CLASS
"X-Maemo-Wm-Class"
src/launcher/hd-launcher-app.c:#define HD_DESKTOP_ENTRY_PRIORITY
"X-Maemo-Prestarted-Priority"
src/launcher/hd-launcher-app.c:#define HD_DESKTOP_ENTRY_SWITCHER_ICON
"X-Maemo-Switcher-Icon"
src/launcher/hd-launcher-app.c:#define HD_DESKTOP_ENTRY_IGNORE_LOWMEM
"X-Maemo-Ignore-Lowmem"
src/launcher/hd-launcher-app.c:#define HD_DESKTOP_ENTRY_IGNORE_LOAD
"X-Maemo-Prestarted-Ignore-Load"

See http://maemo.gitorious.org/fremantle-hildon-desktop/hildon-desktop

HTH.

Thomas
More information about the maemo-developers mailing list