💾 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

View Raw

More Information

➡️ Next capture (2023-07-22)

-=-=-=-=-=-=-

Home

How to configue and autolaunch a polkit agent (Kde)

Introduction

This is a micro-guide to configure a polkit agent on Arch Linux.

Steps

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