xdg-open and xdg-email reimplementation for containerized apps


Applications running in a Flatpak sandbox cannot normally launch arbitrary subprocesses outside the container to open files and URLs. This package provides reimplementations of the standard xdg-open(1) and xdg-email(1) command-line tools intended to be run inside the container. They use the D-Bus session bus to communicate with the xdg-desktop-portal service outside the container.

To avoid conflicting with the standard xdg-utils package, these tools are installed in /usr/libexec/flatpak-xdg-utils. This directory can be added to the PATH when preparing a container, or used as a target for container-specific symbolic links in /usr/bin.

This package also contains flatpak-spawn, which can be used by Flatpak applications to launch processes outside the container. Unprivileged applications can use this mechanism to launch a helper tool such as a thumbnailer in a version of their sandbox with more restrictive permissions, and specially-privileged applications with the 'devel' flag (such as GNOME Builder) can use this mechanism to bypass the sandbox and run commands on the host system.

This package is normally only useful if you are using Debian packages to construct a Flatpak runtime or a similar container, and should not be installed on a normal Debian desktop system. On desktop systems please install the reference implementation of the xdg-open and xdg-email tools, which can be found in the xdg-utils package.

If this package is installed in a non-Flatpak environment for testing, it will require the dbus-session-bus and xdg-desktop-portal packages (which would not be useful to install in a container).

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V



Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install flatpak-xdg-utils