Add upstart user job

ubuntu/bionic
Stéphane Graber 12 years ago
parent 6a04c22e74
commit cda786d1e8

4
debian/changelog vendored

@ -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.
@ -16,6 +17,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 <gilir@ubuntu.com> Wed, 20 Mar 2013 23:23:40 +0100
lubuntu-default-settings (0.31) raring; urgency=low

@ -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

@ -0,0 +1,16 @@
description "Lubuntu session"
author "Stéphane Graber <stgraber@ubuntu.com>"
start on started dbus and xsession SESSION=Lubuntu
emits desktop-start
emits desktop-end
exec startlubuntu
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
Loading…
Cancel
Save