Introduction to xdg-desktop-portal-gtk

xdg-desktop-portal-gtk is a backend for xdg-desktop-portal, that is using GTK and various pieces of GNOME infrastructure.

This package is known to build and work properly using an LFS 12.1 platform.

Package Information

xdg-desktop-portal-gtk Dependencies


GTK+-3.24.41 and xdg-desktop-portal-1.18.2


Installation of xdg-desktop-portal-gtk

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

mkdir build &&
cd    build &&

meson setup --prefix=/usr --buildtype=release .. &&

This package does not come with a test suite.

Now, as the root user:

ninja install

Remove systemd files that are useless (as the root user):

rm -rvf /usr/lib/systemd


Installed Program: one daemon in /usr/libexec
Installed Library: None
Installed Directory: /usr/share/xdg-desktop-portal (if no other xdg-desktop-portal backend is installed)