[oe-commits] [meta-openembedded] 07/14: lxdm: provides fake gdmflexiserver for xfce desktop environment
git at git.openembedded.org
git at git.openembedded.org
Wed May 29 09:26:53 UTC 2019
This is an automated email from the git hooks/post-receive script.
khem pushed a commit to branch master-next
in repository meta-openembedded.
commit 0e837dad4ba64ba64b42a3b30dffe68a440e46e6
Author: Kai Kang <kai.kang at windriver.com>
AuthorDate: Tue May 28 22:40:39 2019 -0400
lxdm: provides fake gdmflexiserver for xfce desktop environment
Xfce4 plugin 'actions' which stays in tray area provides a menu 'Switch
User' but the menu grayed out. It calls whether 'dm-tool' from lightdm
or 'gdmflexiserver' from gdm to support switch users.
Since recipe gdm has been removed from meta-gnome, create a fake
'gdmflexiserver' which calls lxdm to make menu 'Switch User' work
according to:
https://wiki.archlinux.org/index.php/Xfce#User_switching_action_button_is_greyed_out
Signed-off-by: Kai Kang <kai.kang at windriver.com>
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
meta-xfce/recipes-graphics/lxdm/lxdm/gdmflexiserver | 3 +++
meta-xfce/recipes-graphics/lxdm/lxdm_%.bbappend | 7 +++++++
2 files changed, 10 insertions(+)
diff --git a/meta-xfce/recipes-graphics/lxdm/lxdm/gdmflexiserver b/meta-xfce/recipes-graphics/lxdm/lxdm/gdmflexiserver
new file mode 100644
index 0000000..4ef8baf
--- /dev/null
+++ b/meta-xfce/recipes-graphics/lxdm/lxdm/gdmflexiserver
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+lxdm -c USER_SWITCH
diff --git a/meta-xfce/recipes-graphics/lxdm/lxdm_%.bbappend b/meta-xfce/recipes-graphics/lxdm/lxdm_%.bbappend
new file mode 100644
index 0000000..4a799a9
--- /dev/null
+++ b/meta-xfce/recipes-graphics/lxdm/lxdm_%.bbappend
@@ -0,0 +1,7 @@
+FILESEXTRAPATHS_append := "${THISDIR}/${BPN}:"
+
+SRC_URI += "file://gdmflexiserver"
+
+do_install_append () {
+ install -D -m 0755 ${WORKDIR}/gdmflexiserver ${D}${bindir}/gdmflexiserver
+}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list