Xdg-open Installation On A Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora And Raspbian
Install xdg-open
-
Debian
apt-get install xdg-utilsClick to copy -
Ubuntu
apt-get install xdg-utilsClick to copy -
Alpine OS
apk add xdg-utilsClick to copy -
Arch Linux
pacman -S xdg-utilsClick to copy -
Kali Linux
apt-get install xdg-utilsClick to copy -
CentOS
yum install xdg-utilsClick to copy -
Fedora
dnf install xdg-utilsClick to copy -
Raspbian
apt-get install xdg-utilsClick to copy
xdg-utils
desktop integration utilities from freedesktop.orgxdg-utils contains utilities for integrating applications with the desktop environment, regardless of which desktop environment is used. They are part of freedesktop.org's Portland project. The following utilities are included: * xdg-desktop-menu - Install desktop menu items * xdg-desktop-icon - Install icons on the user's desktop * xdg-email - Compose a new email in the user's preferred email client, potentially with subject and other info filled in * xdg-icon-resource - Install icon resources * xdg-mime - Query and install MIME types and associations * xdg-open - Open a URI in the user's preferred application that handles the respective URI or file type * xdg-screensaver - Enable, disable, or suspend the screensaver * xdg-settings - Get or set the default web browser and URI handlers If you are running GNOME, make sure that the gvfs-bin package is installed.
flatpak-xdg-utils
xdg-open and xdg-email reimplementation for containerized appsApplications 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).




