How To Install xdg-desktop-portal-wlr on Fedora 36

In this tutorial we learn how to install xdg-desktop-portal-wlr in Fedora 36. xdg-desktop-portal-wlr is xdg-desktop-portal backend for wlroots

Introduction

In this tutorial we learn how to install xdg-desktop-portal-wlr on Fedora 36.

What is xdg-desktop-portal-wlr

xdg-desktop-portal backend for wlroots. This project seeks to add support for the screenshot, screencast, and possibly remote-desktop xdg-desktop-portal interfaces for wlroots based compositors.

We can use yum or dnf to install xdg-desktop-portal-wlr on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install xdg-desktop-portal-wlr.

Install xdg-desktop-portal-wlr on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install xdg-desktop-portal-wlr using dnf by running the following command:

sudo dnf -y install xdg-desktop-portal-wlr

Install xdg-desktop-portal-wlr on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install xdg-desktop-portal-wlr using yum by running the following command:

sudo yum -y install xdg-desktop-portal-wlr

How To Uninstall xdg-desktop-portal-wlr on Fedora 36

To uninstall only the xdg-desktop-portal-wlr package we can use the following command:

sudo dnf remove xdg-desktop-portal-wlr

xdg-desktop-portal-wlr Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/b7076c4d2bd4b0a9d555e3134037bdf0fa4c77
/usr/lib/systemd/user/xdg-desktop-portal-wlr.service
/usr/libexec/xdg-desktop-portal-wlr
/usr/share/dbus-1/services/org.freedesktop.impl.portal.desktop.wlr.service
/usr/share/doc/xdg-desktop-portal-wlr
/usr/share/doc/xdg-desktop-portal-wlr/README.md
/usr/share/doc/xdg-desktop-portal-wlr/config.sample
/usr/share/licenses/xdg-desktop-portal-wlr
/usr/share/licenses/xdg-desktop-portal-wlr/LICENSE
/usr/share/man/man5/xdg-desktop-portal-wlr.5.gz
/usr/share/xdg-desktop-portal/portals/wlr.portal

References

Summary

In this tutorial we learn how to install xdg-desktop-portal-wlr on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).