lxdm: provides fake gdmflexiserver for xfce desktop environment
v2 cover lxdm: provides fake gdmflexiserver for xfce desktop environment
From: Kai Kang <[email protected]>
v2:
* call lxdm with full path in script gdmflexiserver that /usr/sbin is not in PATH of unprivilege user
Kai Kang (1):
lxdm: provides fake gdmflexiserver for xfce desktop environment
meta-xfce/recipes-graphics/lxdm/lxdm/gdmflexiserver | 3 +++ meta-xfce/recipes-graphics/lxdm/lxdm_%.bbappend | 7 +++++++ 2 files changed, 10 insertions(+) create mode 100644 meta-xfce/recipes-graphics/lxdm/lxdm/gdmflexiserver create mode 100644 meta-xfce/recipes-graphics/lxdm/lxdm_%.bbappend
Signature · 1 line
2.20.0
PATCH v2 1/1 lxdm: provides fake gdmflexiserver for xfce desktop environment
From: Kai Kang <[email protected]>
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
--- meta-xfce/recipes-graphics/lxdm/lxdm/gdmflexiserver | 3 +++ meta-xfce/recipes-graphics/lxdm/lxdm_%.bbappend | 7 +++++++ 2 files changed, 10 insertions(+) create mode 100644 meta-xfce/recipes-graphics/lxdm/lxdm/gdmflexiserver create mode 100644 meta-xfce/recipes-graphics/lxdm/lxdm_%.bbappend
meta-xfce/recipes-graphics/lxdm/lxdm/gdmflexiserver new file +3 -0
@@ -0,0 +1,3 @@ +#!/bin/sh + +/usr/sbin/lxdm -c USER_SWITCH
meta-xfce/recipes-graphics/lxdm/lxdm_%.bbappend new file +7 -0
@@ -0,0 +1,7 @@ +FILESEXTRAPATHS_append := "${THISDIR}/${BPN}:" + +SRC_URI += "file://gdmflexiserver" + +do_install_append () { + install -D -m 0755 ${WORKDIR}/gdmflexiserver ${D}${bindir}/gdmflexiserver +}
Signature · 1 line
2.20.0
Quoted 44 lines · On Wed, Jun 12, 2019 at 1:48 PM <[email protected]> wrote:
From: Kai Kang <[email protected]>
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 <[email protected]>--- meta-xfce/recipes-graphics/lxdm/lxdm/gdmflexiserver | 3 +++ meta-xfce/recipes-graphics/lxdm/lxdm_%.bbappend | 7 +++++++ 2 files changed, 10 insertions(+) create mode 100644 meta-xfce/recipes-graphics/lxdm/lxdm/gdmflexiserver create mode 100644 meta-xfce/recipes-graphics/lxdm/lxdm_%.bbappendmeta-xfce/recipes-graphics/lxdm/lxdm/gdmflexiserver new file +3
-0@@ -0,0 +1,3 @@ +#!/bin/sh + +/usr/sbin/lxdm -c USER_SWITCHmeta-xfce/recipes-graphics/lxdm/lxdm_%.bbappend new file +7
-1@@ -0,0 +1,7 @@ +FILESEXTRAPATHS_append := "${THISDIR}/${BPN}:" + +SRC_URI += "file://gdmflexiserver" + +do_install_append () { + install -D -m 0755 ${WORKDIR}/gdmflexiserver ${D}${bindir}/gdmflexiserver +} --
Quoted 2 lines
2.20.0
Really like it. Hope I'll find some time to test in the near future. Thanks!
Andreas