Skip to content
Snippets Groups Projects
Unverified Commit 0157c644 authored by meskio's avatar meskio :tent:
Browse files

[bug] detect correctly polkit in kde and lubuntu

- Resolves: #374
parent 0235b6ce
No related branches found
No related tags found
No related merge requests found
...@@ -100,9 +100,10 @@ func isPolkitRunning() (bool, error) { ...@@ -100,9 +100,10 @@ func isPolkitRunning() (bool, error) {
// TODO shouldn't we also check for polkitd running? // TODO shouldn't we also check for polkitd running?
var polkitProcNames = [...]string{ var polkitProcNames = [...]string{
"polkit-gnome-authentication-agent-1", "polkit-gnome-authentication-agent-1",
"polkit-kde-authentication-agent-1", "polkit-kde-auth",
"polkit-mate-authentication-agent-1", "polkit-mate-authentication-agent-1",
"lxpolkit", "lxpolkit",
"lxqt-policykit-agent",
"lxsession", "lxsession",
"gnome-shell", "gnome-shell",
"gnome-flashback", "gnome-flashback",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment