diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-06-12 10:44:00 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-06-12 11:02:17 +0200 |
commit | e3b4202b45f3a52dbb61632a9133f2dd0c1da343 (patch) | |
tree | e960b53135a0c8bdca4d3bd50ec6aa2691aed51d /data | |
parent | ccba9e587a8ac83061ae34a98c019d734a8b1f69 (diff) | |
download | arctica-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.in | 3 | ||||
-rw-r--r-- | data/50-arctica-guest-wrapper.conf.in | 2 | ||||
-rw-r--r-- | data/Makefile.am | 20 | ||||
-rw-r--r-- | data/arctica-guest-session-startup.desktop.in | 5 |
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 |