lightdm removed the lightdm-set-defaults application, this should fix setting the default session

ubuntu/bionic
Unit 193 11 years ago
parent 138d516a23
commit 0f3d9ebad2

@ -0,0 +1,2 @@
[SeatDefaults]
user-session=lubuntu-nexus7

@ -0,0 +1,2 @@
[SeatDefaults]
user-session=Lubuntu

@ -0,0 +1,2 @@
[SeatDefaults]
user-session=lxgames

@ -0,0 +1,2 @@
[SeatDefaults]
user-session=qlubuntu

@ -0,0 +1 @@
debian/10-lubuntu.conf etc/lightdm/lightdm.conf.d/

@ -1,15 +0,0 @@
#!/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

@ -1,16 +0,0 @@
#!/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

@ -1,16 +0,0 @@
#!/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 @@
debian/10-lubuntu-nexus7.conf etc/lightdm/lightdm.conf.d/

@ -1,15 +0,0 @@
#!/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-nexus7 || true
/usr/lib/lightdm/lightdm-set-defaults --keep-old --greeter=lightdm-gtk-greeter || true
fi
;;
esac
#DEBHELPER#
exit 0

@ -1,16 +0,0 @@
#!/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-nexus7 || true
/usr/lib/lightdm/lightdm-set-defaults --remove --greeter=lightdm-gtk-greeter || true
fi
;;
esac
#DEBHELPER#
exit 0

@ -0,0 +1 @@
debian/10-lxgames.conf etc/lightdm/lightdm.conf.d/

@ -1,15 +0,0 @@
#!/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

@ -1,16 +0,0 @@
#!/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 @@
debian/10-qlubuntu.conf etc/lightdm/lightdm.conf.d/

@ -1,15 +0,0 @@
#!/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=qlubuntu || true
/usr/lib/lightdm/lightdm-set-defaults --keep-old --greeter=lightdm-kde-greeter || true
fi
;;
esac
#DEBHELPER#
exit 0

@ -1,16 +0,0 @@
#!/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=qlubuntu || true
/usr/lib/lightdm/lightdm-set-defaults --remove --greeter=lightdm-kde-greeter || true
fi
;;
esac
#DEBHELPER#
exit 0
Loading…
Cancel
Save