aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-08-17 22:52:59 -0500
committerTed Gould <ted@gould.cx>2012-08-17 22:52:59 -0500
commit0eb7c8cf572a7925fdb588a662b90a6bd8eeb2e4 (patch)
treef0719a26de5b5b79e66dccb44f679d9f81b354fd
parent72d54293d2db67b2e1eb535d2dd995eb3da35ac2 (diff)
downloadlightdm-remote-session-arctica-0eb7c8cf572a7925fdb588a662b90a6bd8eeb2e4.tar.gz
lightdm-remote-session-arctica-0eb7c8cf572a7925fdb588a662b90a6bd8eeb2e4.tar.bz2
lightdm-remote-session-arctica-0eb7c8cf572a7925fdb588a662b90a6bd8eeb2e4.zip
Adding in the session configuration
-rw-r--r--Makefile.am13
-rw-r--r--freerdp.desktop.in8
2 files changed, 20 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 51fd14b..3ac226a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,8 +3,19 @@ pam_sessiondir = $(sysconfdir)/pam.d/
pam_session_DATA = \
lightdm-remote-freerdp
+lightdm_sessiondir = $(datadir)/lightdm/remote-sessions
+lightdm_session_DATA = \
+ freerdp.desktop
+
+%.desktop: %.desktop.in
+ @sed -e "s|\@pkglibexecdir\@|$(pkglibexecdir)|" $< > $@
+
EXTRA_DIST = \
- $(pam_session_DATA)
+ $(pam_session_DATA) \
+ freerdp.desktop.in
+
+CLEANFILES = \
+ freerdp.desktop
DISTCHECK_CONFIGURE_FLAGS = --enable-localinstall
diff --git a/freerdp.desktop.in b/freerdp.desktop.in
new file mode 100644
index 0000000..19c6771
--- /dev/null
+++ b/freerdp.desktop.in
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=FreeRDP
+Comment=Full Screen RDP session
+Exec=@pkglibexecdir@/freerdp-session
+TryExec=@pkglibexecdir@/freerdp-session
+Icon=
+Type=Application
+X-LightDM-Remote-PAM-Session=lightdm-remote-freerdp