diff options
author | Olli Leppanen <olli.leppanen@nokia.com> | 2010-11-02 16:05:47 +0200 |
---|---|---|
committer | Miroslav Safr <miroslav.safr@tieto.com> | 2010-11-04 14:08:47 +0200 |
commit | 20c7591f83d11a0b006d6e49ebf8a988b734b378 (patch) | |
tree | 4f73147d89b55e9743fb41a9b274e4743f669830 /doc | |
parent | caf14a6529d649275552d78794bb3c3007d13f39 (diff) |
Changes: Added note to instruction how to use launched binaries in .desktop files.
RevBy: Juha Lintula
Changes: Modified instructions how to fill .desktop and .service
files with launched applications.
RevBy:TrustMe
Diffstat (limited to 'doc')
-rw-r--r-- | doc/src/launcher.dox | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/doc/src/launcher.dox b/doc/src/launcher.dox index 9b8d1644..06f0289a 100644 --- a/doc/src/launcher.dox +++ b/doc/src/launcher.dox @@ -276,11 +276,22 @@ normal execution there is Exec=/usr/bin/invoker --delay <seconds> --type=m /usr/bin/<application_name>.launch \endcode -Note: when launching through D-Bus, it is important to add enough delay to invoker so that it won't exit +Note 1: when launching through D-Bus, it is important to add enough delay to invoker so that it won't exit before the launched application gets its D-Bus service registered. Otherwise D-Bus daemon may think that the application just died. Another option is to use --wait-term which forces invoker to wait until the launched application exits. +Note 2: There is a slight difference in application startup time if using +script instead of the actual binary in Exec-field of .desktop and .service files. +Therefore it is recommended always use the actual invoker call with the binary name +as presented above. + +Note 3: When .desktop file contains X-Maemo-Service -field application will +be started by default through D-Bus. This might cause some delay for +application startup time. Therefore it is recommended not to have +X-Maemo-Service -field inside .desktop files with launched applications, +unless it is really needed for some other reason. + Application packages that use the launcher depend on the applauncherd package. |