flathub / com.valvesoftware.Steam

https://flathub.org/apps/details/com.valvesoftware.Steam
338 stars 69 forks source link

Support steam:// links #925

Open MateusRodCosta opened 2 years ago

MateusRodCosta commented 2 years ago

Game information

Not really, just the integration between OS and Steam flatpak

Distribution name and version where applicable

NAME="Fedora Linux"
VERSION="36.20220707.0 (Silverblue)"

Flatpak info

[mateusrc@centauro ~]$ flatpak --version
Flatpak 1.12.7
[mateusrc@centauro ~]$ flatpak --gl-drivers
nvidia-515-57
default
host

Problem description

It seem the Steam flatpak doesn't register as a handler for steam:// links. This prevents external programs from asking Steam to install or launch games.

Does this issue reproduce with native Steam

Have not tested

nicokimmel commented 2 years ago

This does work for me. Arch, Gnome 42.3, also Flatpak version of Steam. (It even lets me choose between Flatpak and native. Got both of them installed actually, since VR does not work with Flatpak currently. With only one installed it does not ask.) grafik

nicokimmel commented 2 years ago

Actually, one thing thats not working for me is vrmonitor://quit (IIRC) when closing SteamVR from the VR Headset itself.

nanonyme commented 2 years ago

Right, original poster is probably missing some xdg component that is necessary for this to work.

1player commented 2 years ago

Not a Steam nor a Steam flatpak bug.

I'm running Silverblue as well, and opening custom URL handlers across Flatpaks is broken in some cases.

Opening steam://run/306130 in Firefox flatpak, for example, doesn't do anything because IIRC Firefox registers an handler for all unknown schemes, breaking it. They have a bug report about this, can't find the URL at the moment.

But if you open a terminal and run xdg-open steam://run/306130, this Flatpak is started as intended.

The question is: where are you trying to open Steam from?