hyprland-wiki/pages/Hypr Ecosystem/hyprpolkitagent.md

23 lines
840 B
Markdown
Raw Normal View History

2024-10-16 16:29:27 +02:00
---
weight: 8
title: hyprpolkitagent
---
hyprpolkitagent is a polkit authentication daemon. It is required for GUI applications to
be able to request elevated privileges.
If it's not available in your distro's repositories, you can either [build it from source](https://github.com/hyprwm/hyprpolkitagent)
or use a different agent, e.g. [KDE's one](https://github.com/KDE/polkit-kde-agent-1/).
## Usage
Add `exec-once = systemctl --user start plasma-polkit-agent` to your Hyprland config and restart hyprland.
(obviously change that to whatever you are using if you are not using the hypr one)
On distributions that use a different init system, such as Gentoo, it may be
necessary to use
`exec-once=/usr/lib64/libexec/hyprpolkitagent` instead.
Other possible paths include
`/usr/lib/hyprpolkitagent` and
`/usr/libexec/hyprpolkitagent`.