From 0eb7c8cf572a7925fdb588a662b90a6bd8eeb2e4 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Fri, 17 Aug 2012 22:52:59 -0500 Subject: Adding in the session configuration --- Makefile.am | 13 ++++++++++++- freerdp.desktop.in | 8 ++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 freerdp.desktop.in 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 -- cgit v1.2.3