-
When inside a Steam Runtime container we currently make `xdg-open` points to the `flatpak-xdg-utils` implementation that relies on `xdg-desktop-portal`. But if an user doesn't have a working `xdg-desktop-portal` it will fail. Additionally the `steam://` URLs might end up opening another instance of the Steam client, even if one instance was already running. This can happen if more than one version are installed, e.g. the Steam client from the distro repositories and the Flatpak version. With this alternative implementation we try a more clever approach that should workaround the `xdg-open` shortcomings that we experienced in our Steam related use cases. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com> [smcv: Install all /usr/bin/steam-runtime-* executables] Signed-off-by:
Simon McVittie <smcv@collabora.com>
When inside a Steam Runtime container we currently make `xdg-open` points to the `flatpak-xdg-utils` implementation that relies on `xdg-desktop-portal`. But if an user doesn't have a working `xdg-desktop-portal` it will fail. Additionally the `steam://` URLs might end up opening another instance of the Steam client, even if one instance was already running. This can happen if more than one version are installed, e.g. the Steam client from the distro repositories and the Flatpak version. With this alternative implementation we try a more clever approach that should workaround the `xdg-open` shortcomings that we experienced in our Steam related use cases. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com> [smcv: Install all /usr/bin/steam-runtime-* executables] Signed-off-by:
Simon McVittie <smcv@collabora.com>
urlopen.md 793 B
title: steam-runtime-urlopen
section: 1
NAME
steam-runtime-urlopen - Alternative xdg-open executable
SYNOPSIS
steam-runtime-urlopen [OPTIONS]... {file | URL}
DESCRIPTION
steam-runtime-urlopen is an alternative xdg-open executable that provides better handling for Steam URLs. This tool is expected to be executed from inside a Steam Runtime container.
OPTIONS
- --version
- Instead of opening the file/URL, write in output the version number.
OUTPUT
On success, the output will be empty.
On error, a human-readable message is shown on standard error.
EXIT STATUS
The exit status is intended to be the same as for xdg-open(1):
- 0
- Success.
- 1
- Error in command line syntax.
- 4
- The action failed.