From 259d7bee3f5a5ba64f4d738e944d17a288630f28 Mon Sep 17 00:00:00 2001 From: Salt Date: Fri, 21 Jun 2019 20:16:42 -0500 Subject: [PATCH] Add loads more polkit agents This SHOULD take care of most Debian and Arch ones, no clue where Fedora keeps its agents though --- firestarter | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/firestarter b/firestarter index 2101d5b..456726a 100755 --- a/firestarter +++ b/firestarter @@ -107,8 +107,22 @@ command -v lxpolkit lxpolkit command -v mate-polkit mate-polkit +[ -x "/usr/lib/ts-polkitagent" ] +/usr/lib/ts-polkitagent command -v polkit-efl-authentication-agent-1 polkit-efl-authentication-agent-1 +[ -x "/usr/lib/$(uname -m)-linux-gnu/polkit-mate/polkit-mate-authentication-agent-1" ] +"/usr/lib/$(uname -m)-linux-gnu/polkit-mate/polkit-mate-authentication-agent-1" +[ -x "/usr/lib/mate-polkit/polkit-mate-authentication-agent-1" ] +/usr/lib/mate-polkit/polkit-mate-authentication-agent-1 +[ -x "/usr/lib/$(uname -m)-linux-gnu/libexec/polkit-kde-authentication-agent-1" ] +"/usr/lib/$(uname -m)-linux-gnu/libexec/polkit-kde-authentication-agent-1" +[ -x "/usr/lib/polkit-kde-authentication-agent-1" ] +/usr/lib/polkit-kde-authentication-agent-1 +[ -x "/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1" ] +/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 +[ -x "/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1" ] +/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 EOF # Hotkey daemon cat << EOF > "$_configdir/hotkey-daemon"