diff --git a/srcpkgs/cinnamon/files/polkit-cinnamon-authentication-agent-1.desktop b/srcpkgs/cinnamon/files/polkit-cinnamon-authentication-agent-1.desktop new file mode 100644 index 00000000000..fbdbd0b72b9 --- /dev/null +++ b/srcpkgs/cinnamon/files/polkit-cinnamon-authentication-agent-1.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=PolicyKit Authentication Agent +Comment=PolicyKit Authentication Agent +Exec=/usr/libexec/polkit-gnome-authentication-agent-1 +Terminal=false +Type=Application +Categories= +NoDisplay=true +OnlyShowIn=GNOME;XFCE;Unity; +X-GNOME-AutoRestart=true diff --git a/srcpkgs/cinnamon/template b/srcpkgs/cinnamon/template index 9dcf197c33e..38d80621822 100644 --- a/srcpkgs/cinnamon/template +++ b/srcpkgs/cinnamon/template @@ -30,7 +30,7 @@ do_fetch() { pre_configure() { # Fix required components - sed -i 's/cinnamon-fallback-mount-helper;/polkit-gnome-authentication-agent-1;/' files/usr/share/cinnamon-session/sessions/cinnamon*.session + sed -i 's/cinnamon-fallback-mount-helper;/polkit-cinnamon-authentication-agent-1;/' files/usr/share/cinnamon-session/sessions/cinnamon*.session # fix for the python2 PAM module sed -i 's:import PAM:import pam:' files/usr/lib/cinnamon-settings/modules/cs_user.py @@ -53,6 +53,7 @@ pre_configure() { post_install() { vinstall ${FILESDIR}/org.cinnamon.settings-users.policy 644 usr/share/polkit-1/actions + vinstall ${FILESDIR}//polkit-cinnamon-authentication-agent-1.desktop 644 usr/share/applications } cinnamon_package() {