xdg-desktop-portal-wlr-0.8.1

#### Supplemental Linux® From Scratch - Version 13.0

### Chapter 8. Graphical Libraries

- Prev

  xdg-desktop-portal-hyprland-1.3.11

- Next

  Graphical Toolkits

- Up
- Home

# xdg-desktop-portal-wlr-0.8.1

## Introduction to xdg-desktop-portal-wlr

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

- Download: https://github.com/emersion/xdg-desktop-portal-wlr/archive/v0.8.1/xdg-desktop-portal-wlr-0.8.1.tar.gz

### xdg-desktop-portal-wlr Dependencies

#### Required

GBM (libgbm or Mesa), inih, libdrm, Systemd, OpenGL (libglvnd or Mesa; Mesa's GL is not supported), Pipewire, Wayland, Wayland-Protocols, and xdg-desktop-portal

#### Recommended

#### Optional

grim-1.5.0, scdoc-1.11.4, and slurp-1.5.0

## 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=libsystemd \
                .. &&

    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

## Command Explanations

`--buildtype=release`: Specify a buildtype suitable for stable releases of the package, as the default may produce unoptimized binaries.

## 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

- Prev

  xdg-desktop-portal-hyprland-1.3.11

- Next

  Graphical Toolkits

- Up
- Home