aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
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