mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-12-22 17:49:48 +01:00
ecosystem: add polkit agent
This commit is contained in:
parent
436bd36876
commit
16fd535e45
8 changed files with 30 additions and 19 deletions
|
@ -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)**
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
weight: 11
|
||||
weight: 105
|
||||
title: aquamarine
|
||||
---
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
weight: 5
|
||||
weight: 101
|
||||
title: hyprcursor
|
||||
---
|
||||
hyprcursor is a new cursor theme format that has many advantages
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
weight: 9
|
||||
weight: 103
|
||||
title: hyprlang
|
||||
---
|
||||
|
||||
|
|
23
pages/Hypr Ecosystem/hyprpolkitagent.md
Normal file
23
pages/Hypr Ecosystem/hyprpolkitagent.md
Normal 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`.
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
weight: 9
|
||||
weight: 102
|
||||
title: hyprutils
|
||||
---
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
weight: 10
|
||||
weight: 104
|
||||
title: hyprwayland-scanner
|
||||
---
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue