%general-entities; ]> xdg-desktop-portal-&xdg-desktop-portal-version; xdg-desktop-portal Introduction to xdg-desktop-portal xdg-desktop-portal is a D-Bus service that allows applications to interact with the desktop in a safe way. Several aspects of desktop interaction, like file chooser, desktop style, etc are implemented in different D-Bus APIs, known as portals. Sandboxed applications benefit the most from this service since they don't need special permissions to use the portal APIs, but any application can use it. xdg-desktop-portal safeguards many resources and features with a user-controlled permission system. This service needs a backend implementing desktop-specific portal interfaces. &lfs121_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &xdg-desktop-portal-md5sum; Download size: &xdg-desktop-portal-size; Estimated disk space required: &xdg-desktop-portal-buildsize; Estimated build time: &xdg-desktop-portal-time; xdg-desktop-portal Dependencies Required , , , , and (at runtime). Furthermore, a backend is needed at runtime for this package to be of any use, either or or Recommended and (for building the manual pages) Although there is an option to build the package without bubblewrap, upstream developers and LFS editors alike highly recommend to not use this possibility, that would create a big security hole. Optional (for the location portal), and with and (for running tests) Optional (for building the documentation) with sphinxext.opengraph, sphinx_copybutton, furo, and flatpak Installation of xdg-desktop-portal Install xdg-desktop-portal by running the following commands: mkdir build && cd build && meson setup --prefix=/usr --buildtype=release .. && ninja If you have installed the needed dependencies, you can test the results by running ninja test. Six tests are known to fail if you are not using and are in GNOME. Now, as the &root; user: ninja install Remove systemd files that are useless (as the &root; user): rm -rvf /usr/lib/systemd Configuring xdg-desktop-portal Config Files The main configuration files are ~/.config/xdg-desktop-portal/portals.conf, /etc/xdg-desktop-portal/portals.conf, and /usr/share/xdg-desktop-portal/portals.conf. Several other locations can be searched for configuration files. See portals.conf(5). ~/.config/xdg-desktop-portal/portals.conf /etc/xdg-desktop-portal/portals.conf /usr/share/xdg-desktop-portal/portals.conf Configuration Information The various configuration files are used to choose the backend depending of various conditions. See portals.conf(5) for details. Contents Installed Programs Installed Librar(y,ies) Installed Director(y,ies) several daemons in /usr/libexec None None