hyprland-wiki/pages/Hypr Ecosystem/hyprpolkitagent.md
izmyname 87c7f834fe
Fix the remaining links to UWSM (#863)
* Update hypridle.md

* Update hyprpaper.md

* Update hyprpolkitagent.md

* Update Dispatchers.md

* Update Environment-variables.md

* Update Status-Bars.md
2024-11-11 20:31:46 +02:00

1,021 B

weight title
8 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 or use a different agent, e.g. KDE's one.

Usage

Add exec-once = systemctl --user start hyprpolkitagent to your Hyprland config and restart hyprland. (obviously change that to whatever you are using if you are not using the hypr one)

If Hyprland is started with uwsm, you can autostart the polkit agent with the command systemctl --user enable --now hyprpolkitagent.service.

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.