xfrun and dbus

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Fri Mar 10 00:25:01 CET 2006


Brian J. Tarricone wrote:
> Personally I'd rather see two binaries, which unfortunately share much
> of the same dialog code (best would be to stick it in a static library).
>  'xfrun4-daemon' just runs as a daemon, provides a dbus service, and
> shows the dialog as necessary.  'xfrun4' does not link with dbus, and
> tries to use 'dbus-send' to launch a dialog, and then presents a
> non-daemon run dialog if that fails.  (Can dbus-send report failure?)  I
> think Benny had some thoughts on this; I don't recall exactly.

xfrun4 should link with D-BUS, and use dbus-send as fallback. See
exo_url_show() for details about how to invoke dbus-send so it reports
success/failure (it's rather buggy).

> 	-brian

Benedikt



More information about the Xfce4-dev mailing list