cinnamaon: Start authentication agent to make users & groups work

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
Andreas Müller
2022-05-06 22:28:24 +02:00
parent 41880e3a91
commit 4d2a1ffc80
2 changed files with 15 additions and 0 deletions

View File

@@ -35,11 +35,17 @@ SRC_URI = " \
file://okaestne-settings-performance/0004-Spices-defer-import-of-requests-module.patch \
file://okaestne-settings-performance/0005-cs-fix-print_timing-remove-stale-touch-function.patch \
file://okaestne-settings-performance/0006-cs-lazy-load-python-modules-when-passed-as-arg.patch \
file://polkit-cinnamon-authentication-agent-1.desktop \
"
SRCREV = "037b17248b176c7f3dd5c9848f8c6738105c4cc2"
PV = "5.2.7+git${SRCPV}"
S = "${WORKDIR}/git"
do_install:append() {
install -d ${D}${sysconfdir}/xdg/autostart
install -m644 ${WORKDIR}/polkit-cinnamon-authentication-agent-1.desktop ${D}${sysconfdir}/xdg/autostart
}
FILES:${PN} += " \
${datadir}/cinnamon-session \
${datadir}/dbus-1 \
@@ -63,6 +69,7 @@ RDEPENDS:${PN} += " \
keybinder \
metacity \
gnome-panel \
polkit-gnome \
wget \
cups \
accountsservice \

View File

@@ -0,0 +1,8 @@
[Desktop Entry]
Type=Application
Name=PolicyKit Authentication Agent
Comment=GNOME Authentication Agent @ Cinnamon Session
Exec=/usr/libexec/polkit-gnome-authentication-agent-1
Terminal=false
Icon=dialog-password
OnlyShowIn=X-Cinnamon