Looks quite good generally and source code written in vala is much more readable then GObject/C. :-)
Some comments:

On Wed, Nov 30, 2011 at 6:08 AM, Julien Lavergne <gilir@ubuntu.com> wrote:

I'm working since some times to some improvements to lxsession.
With my experiments, I ended to rewrite some part in Vala, since C have problems with me :)

You can find the result on the options branch of lxsession : http://lxde.git.sourceforge.net/git/gitweb.cgi?p=lxde/lxsession;a=shortlog;h=refs/heads/options

The main new features are :
* Add initial applications by default support (panel, screensaver ...). It's a way to configure applications started by default, rather than just adding a line in autostart
 * Add initial options support (Keymap, XRandr, Keyring). It's the ability to add some options add start-up, like a screen resolution (instead of using a .desktop file in autostart directory).
* Add initial Dbus support (draft of org.lxde.SessionManager interface, GNOME compat mode)

You can have a look at the new desktop.conf file for the new options available : http://lxde.git.sourceforge.net/git/gitweb.cgi?p=lxde/lxsession;a=blob;f=desktop.conf.example;h=8ae0636a452b6a2e8e8728c039c5d3f0397996c4;hb=refs/heads/options

It should be already usable, the only regression I know is the logout function of lxsession-logout which is broken.

I'll appreciate comments on this :) Especialy on the Dbus interface, what do you expect from a session manager to be available via Dbus ? Do you expect other features from the session manager ?

I would like in the future to take the maintainance of lxsession and try to add more improvements, like :
* Duplicate check, to not autostart an application twice
* Merge back lxpolkit and lxsession-edit changes in lxsession
* More application by default, and more automatic / smart detections
* Finalize the Dbus interface
* Improve lxsession-edit to configure the new options.

Julien Lavergne

All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
Lxde-list mailing list