Introduction to xdg-desktop-portal-gnome

xdg-desktop-portal-gnome 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-gnome Dependencies


gnome-backgrounds-45.0, gnome-desktop-44.0, GTK-4.12.5, libadwaita-1.4.3, xdg-desktop-portal-1.18.2, and xdg-desktop-portal-gtk-1.15.1 (at runtime)

Installation of xdg-desktop-portal-gnome

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

mkdir build &&
cd    build &&

meson setup --prefix=/usr             \
            --buildtype=release       \
            -Dsystemduserunitdir=/tmp \
            ..                         &&

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 -vf /tmp/*.service


If you installed the package to your system using a DESTDIR method, /usr/share/glib-2.0/schemas/gschemas.compiled was not updated/created. Create (or update) the file using the following command as the root user:

glib-compile-schemas /usr/share/glib-2.0/schemas


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)