xdg-desktop-portal-hyprland-1.3.9

Introduction to xdg-desktop-portal-hyprland

The xdg-desktop-portal-hyprland package provides a portal backend for Hyprland.

Package Information

xdg-desktop-portal-hyprland Dependencies

Required

CMake, Hypr Libraries, libdrm, Mesa (for the GBM), Pipewire, Qt-6, sdbus-cpp-2.1.0, Wayland, Wayland-Protocols, and xdg-desktop-portal

Required (Runtime)

Hyprland-0.47.2

Recommended

Optional (Runtime)

grim and slurp

Installation of xdg-desktop-portal-hyprland

Install xdg-desktop-portal-hyprland by running the following commands:

rm -rf subprojects/sdbus-cpp &&
mkdir build                  &&
cd    build                  &&

cmake -D CMAKE_INSTALL_PREFIX=/usr \
      -D CMAKE_BUILD_TYPE=Release  \
      -G Ninja ..            &&

ninja

Now, as the root user:

ninja install &&
rm -rvf /usr/lib/systemd

Command Explanations

rm -rf subprojects/sdbus-cpp: This command removes vendored source code that FTBFS.

rm -rvf /usr/lib/systemd: This command removes unnecessary Systemd files.

Contents

Installed Programs: hyprland-share-picker and xdg-desktop-portal-hyprland
Installed Libraries: None
Installed Directories: None

Short Descriptions

hyprland-share-picker

allows you to pick what screen and region to share

xdg-desktop-portal-hyprland

allows you to access portals in a Hyprland session