xfce4-session dbus interface

Brian J. Tarricone bjt23 at cornell.edu
Mon Oct 6 00:52:50 CEST 2008


On Mon, 06 Oct 2008 00:36:57 +0200 Benedikt Meurer wrote:

> Brian J. Tarricone wrote:
> > Hey all,
> > 
> > I spent some time fleshing out a dbus interface for xfce4-session. 
> > Right now my intention is for it to be more of a remote-control
> > spec (the first use case being a GUI session editor), but I plan on
> > extending it to hopefully become a replacement for XSMP entirely
> > (pending freedesktop.org buy-in, anyway).  But the XSMP replacement
> > will be for 4.8; the simpler stuff is for 4.6.
> > 
> > See the API here:
> > http://mocha.xfce.org/~kelnos/testing/xfce4-session-dbus.xml
> > 
> > Let me know what you think -- esp comments on my TODO items at the
> > top would be useful.  Let's not be too ambitious here; I want to be
> > able to implement most of this in the next week and a half.
> 
> It doesn't make much sense to reimplement XSMP on top of D-BUS rather
> than ICE. You'll still suffer from the same problems (ICE has never
> been a problem). If you attempt to invent a new protocol, don't start
> with XSMP in mind, but use something very simple instead, targeted at
> regular applications. Just my 2 cents...

Gotcha...  I guess for 4.6 I'll just do what I intended to do, and just
provide enough dbus functionality to enable a decent session editor,
and that can be completely separate from a possible new dbus-based
simpler SM protocol.

I actually have just about all of the simple interface implemented in
my local tree, and it appears to work quite well.  FYI, here's what
I've implemented currently:
http://mocha.xfce.org/~kelnos/testing/xfsm-manager-dbus.xml
http://mocha.xfce.org/~kelnos/testing/xfsm-client-dbus.xml

	-brian



More information about the Xfce4-dev mailing list