- 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
parent
4d6892471c
commit
c1cf9ae36f
@ -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
|
@ -0,0 +1,2 @@
|
||||
etc/
|
||||
usr/
|
@ -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…
Reference in new issue