xdg-desktop-portal-hyprland-1.3.11

Introduction to xdg-desktop-portal-hyprland

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

xdg-desktop-portal-hyprland Dependencies

Required

CMake, Hypr Libraries, libdrm, OpenGL (libglvnd or Mesa; Mesa's GL is not supported), Pipewire, Qt-6, sdbus-cpp-2.1.0, Wayland, Wayland-Protocols, and xdg-desktop-portal

Required (Runtime)

Hyprland-0.52.1

Recommended

Optional (Runtime)

grim-1.5.0 and slurp-1.5.0

Installation of xdg-desktop-portal-hyprland

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

rm -rf subprojects           &&
mkdir build                  &&
cd    build                  &&

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

ninja

Now, as the root user:

ninja install

Command Explanations

rm -rf subprojects: This command removes vendored source code.

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