hyprland-wiki/pages/Hypr Ecosystem/hyprpolkitagent.md
izmyname 1741c32b0b
Useful Utilities/Systemd-start: init with uwsm instructions (#850)
Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
Co-authored-by: Vladimir-csp <4061903+Vladimir-csp@users.noreply.github.com>
2024-11-11 16:53:20 +02:00

1,004 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.