aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-06-12 10:44:00 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-06-12 11:02:17 +0200
commite3b4202b45f3a52dbb61632a9133f2dd0c1da343 (patch)
treee960b53135a0c8bdca4d3bd50ec6aa2691aed51d /data
parentccba9e587a8ac83061ae34a98c019d734a8b1f69 (diff)
downloadarctica-greeter-e3b4202b45f3a52dbb61632a9133f2dd0c1da343.tar.gz
arctica-greeter-e3b4202b45f3a52dbb61632a9133f2dd0c1da343.tar.bz2
arctica-greeter-e3b4202b45f3a52dbb61632a9133f2dd0c1da343.zip
Make guest account support functional. Port various items from Ubuntu's LightDM package.
Diffstat (limited to 'data')
-rw-r--r--data/50-arctica-greeter.conf.in3
-rw-r--r--data/50-arctica-guest-wrapper.conf.in2
-rw-r--r--data/Makefile.am20
-rw-r--r--data/arctica-guest-session-startup.desktop.in5
4 files changed, 30 insertions, 0 deletions
diff --git a/data/50-arctica-greeter.conf.in b/data/50-arctica-greeter.conf.in
new file mode 100644
index 0000000..cac4c59
--- /dev/null
+++ b/data/50-arctica-greeter.conf.in
@@ -0,0 +1,3 @@
+[Seat:*]
+greeter-session=arctica-greeter
+greeter-wrapper=@pkglibexecdir@/lightdm-arctica-greeter-session
diff --git a/data/50-arctica-guest-wrapper.conf.in b/data/50-arctica-guest-wrapper.conf.in
new file mode 100644
index 0000000..1ccd04d
--- /dev/null
+++ b/data/50-arctica-guest-wrapper.conf.in
@@ -0,0 +1,2 @@
+[Seat:*]
+guest-wrapper=@libexecdir@/lightdm/lightdm-guest-session
diff --git a/data/Makefile.am b/data/Makefile.am
index 81f0ea6..af80b2a 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1,5 +1,22 @@
# -*- Mode: Automake; indent-tabs-mode: t; tab-width: 4 -*-
+50-arctica-greeter.conf: 50-arctica-greeter.conf.in
+ $(AM_V_GEN) sed -e "s|\@pkglibexecdir\@|$(pkglibexecdir)|" $< > $@
+
+50-arctica-guest-wrapper.conf: 50-arctica-guest-wrapper.conf.in
+ $(AM_V_GEN) sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
+
+lightdm_confdir = $(datadir)/lightdm/lightdm.conf.d
+lightdm_conf_DATA = \
+ 50-arctica-greeter.conf \
+ 50-arctica-guest-wrapper.conf
+
+arctica-guest-session-startup.desktop: arctica-guest-session-startup.desktop.in
+ $(AM_V_GEN) sed -e "s|\@pkglibexecdir\@|$(pkglibexecdir)|" $< > $@
+
+guestsession_autostartdir = $(datadir)/arctica-greeter/guest-session/skel/.config/autostart
+guestsession_autostart_DATA = arctica-guest-session-startup.desktop
+
xgreeterdir = $(datarootdir)/xgreeters
dist_xgreeter_DATA = arctica-greeter.desktop
@@ -64,5 +81,8 @@ EXTRA_DIST = \
$(gsettings_SCHEMAS)
DISTCLEANFILES = \
+ 50-arctica-greeter.conf \
+ 50-arctica-guest-wrapper.conf \
+ arctica-guest-session-startup.desktop \
Makefile.in \
logo.png
diff --git a/data/arctica-guest-session-startup.desktop.in b/data/arctica-guest-session-startup.desktop.in
new file mode 100644
index 0000000..c4d6d8d
--- /dev/null
+++ b/data/arctica-guest-session-startup.desktop.in
@@ -0,0 +1,5 @@
+[Desktop Entry]
+Name=Custom startup command for Arctica Greeter's guest session
+Type=Application
+NoDisplay=true
+Exec=@pkglibexecdir@//arctica-guest-session-auto