diff --git a/debian/10-lubuntu-nexus7.conf b/debian/10-lubuntu-nexus7.conf new file mode 100644 index 0000000..da4a43c --- /dev/null +++ b/debian/10-lubuntu-nexus7.conf @@ -0,0 +1,2 @@ +[SeatDefaults] +user-session=lubuntu-nexus7 diff --git a/debian/10-lubuntu.conf b/debian/10-lubuntu.conf new file mode 100644 index 0000000..6a54688 --- /dev/null +++ b/debian/10-lubuntu.conf @@ -0,0 +1,2 @@ +[SeatDefaults] +user-session=Lubuntu diff --git a/debian/10-lxgames.conf b/debian/10-lxgames.conf new file mode 100644 index 0000000..91a24f9 --- /dev/null +++ b/debian/10-lxgames.conf @@ -0,0 +1,2 @@ +[SeatDefaults] +user-session=lxgames diff --git a/debian/10-qlubuntu.conf b/debian/10-qlubuntu.conf new file mode 100644 index 0000000..3c08a3d --- /dev/null +++ b/debian/10-qlubuntu.conf @@ -0,0 +1,2 @@ +[SeatDefaults] +user-session=qlubuntu diff --git a/debian/lubuntu-default-session.install b/debian/lubuntu-default-session.install new file mode 100644 index 0000000..d9075ee --- /dev/null +++ b/debian/lubuntu-default-session.install @@ -0,0 +1 @@ +debian/10-lubuntu.conf etc/lightdm/lightdm.conf.d/ diff --git a/debian/lubuntu-default-session.postinst b/debian/lubuntu-default-session.postinst deleted file mode 100644 index e0bfb43..0000000 --- a/debian/lubuntu-default-session.postinst +++ /dev/null @@ -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 diff --git a/debian/lubuntu-default-session.postrm b/debian/lubuntu-default-session.postrm deleted file mode 100644 index ccae28d..0000000 --- a/debian/lubuntu-default-session.postrm +++ /dev/null @@ -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 diff --git a/debian/lubuntu-default-settings.postrm b/debian/lubuntu-default-settings.postrm deleted file mode 100644 index ccae28d..0000000 --- a/debian/lubuntu-default-settings.postrm +++ /dev/null @@ -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 diff --git a/debian/lubuntu-nexus7-default-session.install b/debian/lubuntu-nexus7-default-session.install new file mode 100644 index 0000000..32ea39d --- /dev/null +++ b/debian/lubuntu-nexus7-default-session.install @@ -0,0 +1 @@ +debian/10-lubuntu-nexus7.conf etc/lightdm/lightdm.conf.d/ diff --git a/debian/lubuntu-nexus7-default-session.postinst b/debian/lubuntu-nexus7-default-session.postinst deleted file mode 100644 index f724bf0..0000000 --- a/debian/lubuntu-nexus7-default-session.postinst +++ /dev/null @@ -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 diff --git a/debian/lubuntu-nexus7-default-session.postrm b/debian/lubuntu-nexus7-default-session.postrm deleted file mode 100644 index d0b8878..0000000 --- a/debian/lubuntu-nexus7-default-session.postrm +++ /dev/null @@ -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 diff --git a/debian/lxgames-default-session.install b/debian/lxgames-default-session.install new file mode 100644 index 0000000..4978310 --- /dev/null +++ b/debian/lxgames-default-session.install @@ -0,0 +1 @@ +debian/10-lxgames.conf etc/lightdm/lightdm.conf.d/ diff --git a/debian/lxgames-default-session.postinst b/debian/lxgames-default-session.postinst deleted file mode 100644 index e59bdbe..0000000 --- a/debian/lxgames-default-session.postinst +++ /dev/null @@ -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 diff --git a/debian/lxgames-default-session.postrm b/debian/lxgames-default-session.postrm deleted file mode 100644 index abe3cd2..0000000 --- a/debian/lxgames-default-session.postrm +++ /dev/null @@ -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 diff --git a/debian/qlubuntu-default-session.install b/debian/qlubuntu-default-session.install new file mode 100644 index 0000000..f747d7e --- /dev/null +++ b/debian/qlubuntu-default-session.install @@ -0,0 +1 @@ +debian/10-qlubuntu.conf etc/lightdm/lightdm.conf.d/ diff --git a/debian/qlubuntu-default-session.postinst b/debian/qlubuntu-default-session.postinst deleted file mode 100644 index 6077905..0000000 --- a/debian/qlubuntu-default-session.postinst +++ /dev/null @@ -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 diff --git a/debian/qlubuntu-default-session.postrm b/debian/qlubuntu-default-session.postrm deleted file mode 100644 index dc53c20..0000000 --- a/debian/qlubuntu-default-session.postrm +++ /dev/null @@ -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