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@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Kai Kang 2019-05-28 22:40:39 -04:00 committed by Khem Raj
parent e9ffb7c6c0
commit 0e837dad4b
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,3 @@
#!/bin/sh
lxdm -c USER_SWITCH

View File

@ -0,0 +1,7 @@
FILESEXTRAPATHS_append := "${THISDIR}/${BPN}:"
SRC_URI += "file://gdmflexiserver"
do_install_append () {
install -D -m 0755 ${WORKDIR}/gdmflexiserver ${D}${bindir}/gdmflexiserver
}