xfrun and dbus
Jannis Pohlmann
info at sten-net.de
Fri Mar 10 00:30:03 CET 2006
On Thu, 09 Mar 2006 22:46:02 +0200
Jani Monoses <jani.monoses at gmail.com> wrote:
> Hello
>
> here's a cleaner xfrun dbus service + client patch.
>
> When built without dbus it behaves exactly as now.
> When dbus is enabled it does the following
> - If run with no arguments it tries connecting to a RunDialog service
> and if not found falls back to current behaviour.
> - If run with --daemon as argument tries to register itself and
> provide a service or exit on failure.
> - If there's an argument which is not --daemon it behaves like now.
>
> This way whoever wants to get faster dialog will launch xfrun
> --daemon in xinitrc for example, others are not affected.
>
> I have tested it in xnest with two screens and it correctly launches
> the dialog on the appropriate screen, although there may be a cleaner
> or more correct way of getting the GdkScreen from a :display.screen
> string
>
> The verve plugin could take advantage of this too by providing a
> service and simply aquiring focus when it is contacted.
Wow, this is a nice idea. I'll look into that and probably implement
it. Thanks for the hint!
Regards,
Jannis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20060310/036ec7b6/attachment.pgp>
More information about the Xfce4-dev
mailing list