Can't intall steam runner

Hi!

I have a couple of steam games for linux that I’d like to launch with lutris. I successfully added them to lutris library but when I try to start them, I get a “Required runner unavailable” popup message, which asks me if I want to install such missing runner.
Even if I click “yes”, nothing happens.

If I right-click on a steam game > then “configure” > then “install runners” > hence try to install the steam runner, nothing happens.

I tried to launch lutris from a terminal, and this is what I get:

$ lutris
2020-01-22 09:34:54,400: Running Lutris 0.5.3
2020-01-22 09:34:54,400: Using Intel Open Source Technology Center
2020-01-22 09:34:54,400: Running Mesa driver 19.2.8 on Mesa DRI Intel(R) HD Graphics 620 (Kaby Lake GT2)  (0x5916)
2020-01-22 09:34:54,400: GPU: 8086:5916 1028:075B using i915 drivers
2020-01-22 09:34:54,469: Vulkan is supported
2020-01-22 09:34:54,470: Updating DXVK versions
2020-01-22 09:34:54,693: Connected to lutris.net as amivaleo
2020-01-22 09:34:55,381: Updating D9VK versions
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/lutris/gui/lutriswindow.py", line 549, in on_game_activated
    self.application.launch(game)
  File "/usr/lib/python3.7/site-packages/lutris/gui/application.py", line 343, in launch
    game.play()
  File "/usr/lib/python3.7/site-packages/lutris/game.py", line 271, in play
    if not self.prelaunch():
  File "/usr/lib/python3.7/site-packages/lutris/game.py", line 244, in prelaunch
    installed = self.runner.install_dialog()
  File "/usr/lib/python3.7/site-packages/lutris/runners/runner.py", line 268, in install_dialog
    self.install(downloader=simple_downloader)
  File "/usr/lib/python3.7/site-packages/lutris/runners/steam.py", line 270, in install
    "Steam for Linux installation is not handled by Lutris.\n"
lutris.runners.NonInstallableRunnerError: Steam for Linux installation is not handled by Lutris.
Please go to <a href='http://steampowered.com'>http://steampowered.com</a> or install Steam with the package provided by your distribution.

It tells me that I have to install Steam. Of course, it’s already installed…

I use Fedora 31, and Steam is installed using flatpak.

Is Steam in your $PATH? That is, can which steam find the binary? Can you start it up by running steam from the shell (or from desktop command runner)?

Nope… Flatpaks are not added to that env variables. If you want to launch a flatpak from a terminal, you have to give a command like

flatpak run APPLICATION_NAME

I deduce that Lutris is not compatible with Steam flatpak.

Try adding it to $PATH
Or put a script into /usr/local/bin if there’s no proper binary location

Better yet, don’t use Flatpak, it’s crappy and quite unsecure. Major Linux distribs have packages for Steam by now, and those which don’t are likely based on one of these (or provide other means of install like Gentoo).

1 Like

You’re right, I should’ve thought about adding a script… :expressionless:

Too late now, I uninstalled the flatpak version and installed the one in the main Fedora repo. It works this way.

Thank you.