ecosystem: add polkit agent

This commit is contained in:
Vaxry 2024-10-16 15:29:27 +01:00
parent 436bd36876
commit 16fd535e45
8 changed files with 30 additions and 19 deletions

View file

@ -21,6 +21,7 @@ These docs always target latest -git branch of respective apps.
- **[xdg-desktop-portal-hyprland](./xdg-desktop-portal-hyprland)**
- **[hyprsysteminfo](./hyprsysteminfo)**
- **[hyprsunset](./hyprsunset)**
- **[hyprpolkitagent](./hyprpolkitagent)**
### Libraries and other utilities
- **[hyprcursor](./hyprcursor)**

View file

@ -1,5 +1,5 @@
---
weight: 11
weight: 105
title: aquamarine
---

View file

@ -1,5 +1,5 @@
---
weight: 5
weight: 101
title: hyprcursor
---
hyprcursor is a new cursor theme format that has many advantages

View file

@ -1,5 +1,5 @@
---
weight: 9
weight: 103
title: hyprlang
---

View file

@ -0,0 +1,23 @@
---
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`.

View file

@ -1,5 +1,5 @@
---
weight: 9
weight: 102
title: hyprutils
---

View file

@ -1,5 +1,5 @@
---
weight: 10
weight: 104
title: hyprwayland-scanner
---

View file

@ -54,20 +54,7 @@ _Starting method:_ manual (`exec-once`)
Authentication agents are the things that pop up a window asking you for a
password whenever an app wants to elevate its privileges.
Our recommendation is the KDE one. For arch, it's `polkit-kde-agent`.
You can autostart it with
`exec-once=systemctl --user start plasma-polkit-agent`.
On distributions that use a different init system, such as Gentoo, it may be
necessary to use
`exec-once=/usr/lib64/libexec/polkit-kde-authentication-agent-1` instead.
Other possible paths include
`/usr/lib/polkit-kde-authentication-agent-1`,
`/usr/libexec/polkit-kde-authentication-agent-1`,
`/usr/libexec/kf5/polkit-kde-authentication-agent-1`, and
`/usr/libexec/kf6/polkit-kde-authentication-agent-1`.
See [hyprpolkitagent](../hyprpolkitagent)
### Qt Wayland Support