2024-02-20 21:16:07 +01:00
|
|
|
---
|
2024-03-17 13:44:39 +01:00
|
|
|
weight: 6
|
2024-02-20 21:16:07 +01:00
|
|
|
title: xdg-desktop-portal-hyprland
|
|
|
|
---
|
2024-02-19 17:52:58 +01:00
|
|
|
|
2024-02-20 21:16:07 +01:00
|
|
|
xdg-desktop-portal-hyprland is Hyprland's xdg-desktop-portal implementation. It
|
|
|
|
allows for screensharing, global shortcuts, etc.
|
2024-02-19 17:52:58 +01:00
|
|
|
|
|
|
|
## Configuration
|
|
|
|
|
2024-05-02 21:14:19 +02:00
|
|
|
Example:
|
|
|
|
```ini
|
|
|
|
screencopy {
|
|
|
|
max_fps = 60
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
Config file `~/.config/hypr/xdph.conf` allows for these variables:
|
|
|
|
|
|
|
|
### category screencopy
|
|
|
|
|
|
|
|
| variable | description | type | default value |
|
|
|
|
| -- | -- | -- | -- |
|
|
|
|
| max_fps | Maximum fps of a screensharing session. 0 means no limit. | int | 120 |
|
2024-02-19 17:52:58 +01:00
|
|
|
|
|
|
|
## Troubleshooting
|
|
|
|
|
2024-02-20 21:16:07 +01:00
|
|
|
See the
|
2024-03-17 13:44:39 +01:00
|
|
|
[XDG Desktop Portal wiki page](../../Useful-Utilities/xdg-desktop-portal-hyprland).
|