more xdp info

This commit is contained in:
vaxerski 2023-02-16 23:56:49 +00:00
parent 103b384da8
commit 94845f1143
2 changed files with 19 additions and 0 deletions

View file

@ -284,3 +284,9 @@ It's heavily advised to use `full` regardless of anything.
# How to fix games with window dancing? # How to fix games with window dancing?
Read [this trick](../Configuring/Uncommon-tips--tricks/#window-dancing). Read [this trick](../Configuring/Uncommon-tips--tricks/#window-dancing).
# My apps take a long time to start / can't screenshare
See [The XDPH Page](../Useful-Utilities/Hyprland-desktop-portal).
You most likely have multiple portal impls / an impl is failing to launch.

View file

@ -89,6 +89,8 @@ It's recommended to uninstall any other portal implementations to avoid conflict
`-kde` and `-gnome` are known to cause issues. `-kde` and `-gnome` are known to cause issues.
`-kde` is unfortunately a hard dep of `plasma-integration` in Arch Linux, so if using that, you'll need to `pacman -Rnsdd xdg-desktop-portal-kde`.
both `-wlr` and `-hyprland` installed at once will also cause conflicts. Choose one and uninstall the other. both `-wlr` and `-hyprland` installed at once will also cause conflicts. Choose one and uninstall the other.
{{< /hint >}} {{< /hint >}}
@ -117,3 +119,14 @@ sleep 2
/usr/lib/xdg-desktop-portal & /usr/lib/xdg-desktop-portal &
``` ```
adjust the paths if incorrect. adjust the paths if incorrect.
## Debugging
If you get long app launch times, or screensharing does not work, consult the logs.
`systemctl --user status xdg-desktop-portal-hyprland`
if you see a crash, it's most likely you are missing `qt6-wayland` and/or `qt5-wayland`.
if you don't, make _sure_ you don't have `-kde` or `-gnome` installed. Only `-gtk`
will work with `-hyprland` or `-wlr` on Hyprland.