💾 Archived View for davcloud.xyz › articles › autostart-polkit-kde-agent.gmi captured on 2023-07-10 at 13:09:15. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
This is a micro-guide to configure a polkit agent on Arch Linux.
1. Download a polkit manager (I chose the Kde one):
pacman -S polkit-kde-agent
2. it creates a xdg '.desktop' entry in '/etc/xdg/autostart/polkit-kde-authentication-agent-1.desktop'
3. 'dex' is needeed to autolaunch xdg entries:
pacman -S dex
4. 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