Allow mate-polkit to be used in Xfce, Cinnamon, and other desktops

Source: mate-polkit

Severity: wishlist

Dear Maintainer,

As policykit-1-gnome is slated for removal from Trixie (#990271), and it’s the most
generic policykit agent, it would be quite useful if mate-polkit could be utilized
on other desktops.

In bugs.debian.org/990259 there was a discussion where mate-polkit could be
useful to Cinnamon, and I would find it useful on an Xfce desktop.

Below is a patch to mate-polkit’s desktop file to allow it to run on other desktops,
of course you may prefer to expand the whitelist rather than simply blacklisting KDE and GNOME.

Thanks!

~Unit 193
Unit193 @ OFTC
Unit193 @ Libera

Description: Allow mate-polkit to be used in Xfce, Cinnamon, etc.


src/polkit-mate-authentication-agent-1.desktop.in.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

— a/src/polkit-mate-authentication-agent-1.desktop.in.in
+++ b/src/polkit-mate-authentication-agent-1.desktop.in.in
@@ -5,5 +5,5 @@ Exec=@FULL_LIBEXECDIR@/polkit-mate-authe
Terminal=false
Type=Application
NoDisplay=true
-OnlyShowIn=MATE;
+NotShowIn=GNOME;KDE;
X-MATE-AutoRestart=true

Read more here: Source link