Desktop file format
m (→Format of Maemo .desktop files: "fields" in place of "field" and minor clean up) |
m (→Format of Maemo .desktop files: removing line breaks so text can wrap naturally) |
||
Line 10: | Line 10: | ||
:not used on maemo, but used in Ubuntu mobile | :not used on maemo, but used in Ubuntu mobile | ||
; Comment | ; Comment | ||
- | :now unused, was used as second line of text in the startup menu in | + | :now unused, was used as second line of text in the startup menu in Bora |
- | Bora | + | |
;Exec | ;Exec | ||
;NoDisplay | ;NoDisplay | ||
Line 18: | Line 17: | ||
:set to false to disable the startup notification banner | :set to false to disable the startup notification banner | ||
;StartupWMClass | ;StartupWMClass | ||
- | :used to override the expected window class name, default to the | + | :used to override the expected window class name, default to the binary name |
- | binary name | + | |
Some Maemo-specific extensions: | Some Maemo-specific extensions: | ||
;X-Text-Domain | ;X-Text-Domain | ||
- | :set the L10n domain from which the application name is | + | :set the L10n domain from which the application name is translated (with dgettext) |
- | translated (with dgettext) | + | |
;X-Osso-Service | ;X-Osso-Service | ||
- | :a DBus service name - if specified hildon desktop will try to | + | :a DBus service name - if specified hildon desktop will try to call the top_application method on this service rather than execute what is listed in the Exec field). |
- | call the top_application method on this service rather than execute what is | + | |
- | listed in the Exec field). | + | |
(Credits to [https://bugs.maemo.org/show_bug.cgi?id=95#c15 Johan Billen] | (Credits to [https://bugs.maemo.org/show_bug.cgi?id=95#c15 Johan Billen] | ||
[[Category:Development]] | [[Category:Development]] |
Revision as of 14:01, 16 March 2009
Format of Maemo .desktop files
Below are the fields supported in hildon-desktop (Chinook):
- Type
- Should be application
- Icon
- Name
- Categories
- not used on maemo, but used in Ubuntu mobile
- Comment
- now unused, was used as second line of text in the startup menu in Bora
- Exec
- NoDisplay
- set to true to hide the entry in the menu
- StartupNotify
- set to false to disable the startup notification banner
- StartupWMClass
- used to override the expected window class name, default to the binary name
Some Maemo-specific extensions:
- X-Text-Domain
- set the L10n domain from which the application name is translated (with dgettext)
- X-Osso-Service
- a DBus service name - if specified hildon desktop will try to call the top_application method on this service rather than execute what is listed in the Exec field).
(Credits to Johan Billen