How to configue and autolaunch a polkit agent (Kde)
Introduction
This is a micro-guide to configure a polkit agent on Arch Linux.
Steps
Download a polkit manager (I chose the Kde one):
pacman -S polkit-kde-agent
it creates a xdg
.desktop
entry in/etc/xdg/autostart/polkit-kde-authentication-agent-1.desktop
dex
is needeed to autolaunch xdg entries:pacman -S dex
Add the command to an autolaunch script. Since I use
bspwm
I will add it to its coonfig file:echo "dex -a /etc/xdg/autostart/polkit-kde-authentication-agent-1.desktop" >> .config/bspwm/bspwmrc