diff --git a/debian/changelog b/debian/changelog index 08f8b82..6ab8c96 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,6 @@ lubuntu-default-settings (0.32) UNRELEASED; urgency=low + [ Julien Lavergne ] * Add a new QLubuntu session, by using only Qt applications * usr/bin/start* - Remove gnome-keyring workaround, since we have the proper fix for ssh. @@ -18,6 +19,9 @@ lubuntu-default-settings (0.32) UNRELEASED; urgency=low * etc/xdg/lubuntu/libfm/libfm.conf - Rebase with new upstream options. + [ Stéphane Graber ] + * Add startlubuntu upstart user job. + -- Julien Lavergne Wed, 20 Mar 2013 23:23:40 +0100 lubuntu-default-settings (0.31) raring; urgency=low diff --git a/debian/lubuntu-default-settings.install b/debian/lubuntu-default-settings.install index 559bcf7..d2520fc 100644 --- a/debian/lubuntu-default-settings.install +++ b/debian/lubuntu-default-settings.install @@ -4,6 +4,7 @@ usr/share/gdm/ usr/share/lubuntu/ usr/share/lxpanel/ usr/share/lxterminal/ +usr/share/upstart/sessions/ usr/share/xsessions/ usr/share/applications/lubuntu-screenlock.desktop usr/share/applications/lubuntu-browser.desktop diff --git a/usr/share/upstart/sessions/lxsession.conf b/usr/share/upstart/sessions/lxsession.conf new file mode 100644 index 0000000..cfe1c36 --- /dev/null +++ b/usr/share/upstart/sessions/lxsession.conf @@ -0,0 +1,16 @@ +description "Lubuntu session" +author "Stéphane Graber " + +start on started dbus and xsession SESSIONTYPE=lxsession + +emits desktop-start +emits desktop-end + +exec /usr/bin/lxsession -s $DESKTOP_SESSION -e LXDE + +post-start exec initctl emit desktop-start DESKTOP_SESSION=$DESKTOP_SESSION + +# Don't wait to avoid blocking the session from ending. +pre-stop exec initctl emit --no-wait desktop-end DESKTOP_SESSION=$DESKTOP_SESSION + +post-stop exec dbus-send --type=method_call --address=$UPSTART_SESSION /com/ubuntu/Upstart com.ubuntu.Upstart0_6.EndSession