💾 Archived View for davcloud.xyz › articles › autostart-polkit-kde-agent.gmi captured on 2024-05-12 at 15:05:32. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous 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

- 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