* usr/share/xsessions/lxgames.desktop :

- Add a new session to start a games session.
* debian/control:
 - Add new binaries, to configure default session on lightdm.
* Reorganize script in debian/ to handle the creation of the new
  default-session binaries.
* debian/lubuntu-default-settings.install:
 - Keep all files in lubuntu-default-settings.
ubuntu/bionic
Julien Lavergne 13 years ago
parent 4d6892471c
commit c1cf9ae36f

8
debian/changelog vendored

@ -16,6 +16,14 @@ lubuntu-default-settings (0.23) UNRELEASED; urgency=low
- Add a specific menu structure for a games session. - Add a specific menu structure for a games session.
* usr/bin/startlubuntu-lxgames : * usr/bin/startlubuntu-lxgames :
- Add a new script to start a games session, with a specific menu structure. - Add a new script to start a games session, with a specific menu structure.
* usr/share/xsessions/lxgames.desktop :
- Add a new session to start a games session.
* debian/control:
- Add new binaries, to configure default session on lightdm.
* Reorganize script in debian/ to handle the creation of the new
default-session binaries.
* debian/lubuntu-default-settings.install:
- Keep all files in lubuntu-default-settings.
-- Julien Lavergne <gilir@ubuntu.com> Tue, 15 Nov 2011 13:47:32 +0700 -- Julien Lavergne <gilir@ubuntu.com> Tue, 15 Nov 2011 13:47:32 +0700

14
debian/control vendored

@ -24,3 +24,17 @@ Recommends: amixer,
Provides: lightdm-gtk-greeter-config Provides: lightdm-gtk-greeter-config
Description: default settings for Lubuntu Description: default settings for Lubuntu
Various system settings tailored for Lubuntu. Various system settings tailored for Lubuntu.
Package: lxgames-default-session
Architecture: all
Depends: ${misc:Depends},
lubuntu-default-settings
Description: Set default session to lxgames
Set default session to lxgames.
Package: lubuntu-default-session
Architecture: all
Depends: ${misc:Depends},
lubuntu-default-settings
Description: Set default session to lxgames
Set default session to lxgames.

@ -0,0 +1,15 @@
#!/bin/sh -e
set -e
case "$1" in
configure|upgrade)
if [ -x /usr/lib/lightdm/lightdm-set-defaults ] ; then
/usr/lib/lightdm/lightdm-set-defaults --keep-old --session=Lubuntu || true
/usr/lib/lightdm/lightdm-set-defaults --keep-old --greeter=lightdm-gtk-greeter || true
fi
;;
esac
#DEBHELPER#
exit 0

@ -0,0 +1,16 @@
#!/bin/sh -e
set -e
case "$1" in
remove|purge)
if [ -x /usr/lib/lightdm/lightdm-set-defaults ] ; then
/usr/lib/lightdm/lightdm-set-defaults --remove --session=Lubuntu || true
/usr/lib/lightdm/lightdm-set-defaults --remove --greeter=lightdm-gtk-greeter || true
fi
;;
esac
#DEBHELPER#
exit 0

@ -22,14 +22,5 @@ if [ "$1" = "configure" ] ; then
/etc/xdg/lubuntu/lightdm/lightdm-gtk-greeter.conf 30 /etc/xdg/lubuntu/lightdm/lightdm-gtk-greeter.conf 30
fi fi
case "$1" in
configure|upgrade)
if [ -x /usr/lib/lightdm/lightdm-set-defaults ] ; then
/usr/lib/lightdm/lightdm-set-defaults --keep-old --session=Lubuntu || true
/usr/lib/lightdm/lightdm-set-defaults --keep-old --greeter=lightdm-gtk-greeter || true
fi
;;
esac
#DEBHELPER# #DEBHELPER#
exit 0 exit 0

@ -0,0 +1,15 @@
#!/bin/sh -e
set -e
case "$1" in
configure|upgrade)
if [ -x /usr/lib/lightdm/lightdm-set-defaults ] ; then
/usr/lib/lightdm/lightdm-set-defaults --keep-old --session=lxgames || true
/usr/lib/lightdm/lightdm-set-defaults --keep-old --greeter=lightdm-gtk-greeter || true
fi
;;
esac
#DEBHELPER#
exit 0

@ -0,0 +1,16 @@
#!/bin/sh -e
set -e
case "$1" in
remove|purge)
if [ -x /usr/lib/lightdm/lightdm-set-defaults ] ; then
/usr/lib/lightdm/lightdm-set-defaults --remove --session=lxgames || true
/usr/lib/lightdm/lightdm-set-defaults --remove --greeter=lightdm-gtk-greeter || true
fi
;;
esac
#DEBHELPER#
exit 0

@ -0,0 +1,7 @@
[Desktop Entry]
# The names/descriptions should really be better
Name=LX Games
Comment=LX Games - A collection of games, using LXDE desktop.
Exec=/usr/bin/startlubuntu-lxgames
# Icon=
Type=Application
Loading…
Cancel
Save