xdg-desktop-portal-wlr-0.7.1

Introduction to xdg-desktop-portal-wlr

The xdg-desktop-portal-wlr package provides a portal backend for Wlroots compositors.

xdg-desktop-portal-wlr Dependencies

Required

GBM (GBM from Mesa or Mesa; only the normal installation is required for either), libdrm, elogind, OpenGL (libglvnd or Mesa; only the normal installation is required for either), Pipewire, Wayland, Wayland-Protocols, and xdg-desktop-portal

Recommended

Optional (Runtime)

grim and slurp

Installation of xdg-desktop-portal-wlr

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

mkdir build &&
cd    build &&

meson setup --prefix=/usr                 \
            --buildtype=release           \
            -D sd-bus-provider=libelogind \
            .. &&

ninja

Now, as the root user:

ninja install

Ensure the portal can be detected as the root user:

cat > /usr/share/xdg-desktop-portal/wlr-portals.conf << "EOF"
[preferred]
default=wlr
EOF

Contents

Installed Programs: xdg-desktop-portal-wlr
Installed Libraries: None
Installed Directories: None

Short Descriptions

xdg-desktop-portal-wlr

allows you to access portals in a Wlroots session