Where to start
Julien PUYDT
julien.puydt at laposte.net
Mon Apr 4 21:09:51 PDT 2005
Tony Houghton a écrit :
>Except where to install .service files. Is it actually implemented yet
>anyway?
>
It is implemented.
Put the following in a file:
[D-BUS Service]
Name=foo.baz.bar
Exec=/usr/bin/foobazbarrer
(notice that the string in brackets is fixed [ie: not supposed to be
descriptive] and that you can put only one such service/file), and
you'll be able to start foo.baz.bar ; for example in python:
import dbus
bus = dbus.SessionBus ()
bus.start_service_by_name ('foo.baz.bar')
Hope it helps,
Snark on #freedesktop
More information about the dbus
mailing list