protonscr

Passing a file to programs in Steam

steamopen
ValveSoftware/steam-for-linux#11815 · opened 2025-03-12 by Damglador · updated 2025-03-12 · 2 comments · github
DDamglador 2025-03-12 github

Your system information

  • Steam client version (build number or date): 1741636428
  • Distribution (e.g. Ubuntu): Arch
  • Opted into Steam client beta?: No
  • Have you checked for system updates?: Yes
  • Steam Logs: steam-logs.tar.gz
  • GPU: AMD/Nvidia

Please describe your issue in as much detail as possible:

I've noticed this with Aseprite at first, but now also see this with Blender. The desktop files created by Steam include only steam and the "game" ID in Exec, meaning if I want to open a png with Aseprite, it'll just open Aseprite and will not pass the file to it. In command line doing steam steam://rungameid/365670 /home/damglador/Documents/Blender/Шахи.blend or steam steam://rungameid/365670 -- /home/damglador/Documents/Blender/Шахи.blend also doesn't pass the file to the program, but launching it directly with ELF does: /home/damglador/Games/SteamLibrary/steamapps/common/Blender/blender /home/damglador/Documents/Blender/Шахи.blend. So Steam can't pass files to programs it launches? At least it for sure doesn't do this by default with desktop files it creates.

Steps for reproducing this issue:

  1. Install Blender with desktop file
  2. Right click on some file that Blender can use
  3. In "Open with" select Blender
Kkisak-valve maintainer 2025-03-12 github

Hello @Damglador, this reads like https://github.com/ValveSoftware/steam-runtime/issues/470. In general, games started from Steam are expected to be run in a Steam Linux Runtime container, and that container environment is not expected to have unlimited access to the host system.

DDamglador 2025-03-12 github

@kisak-valve but should it affect me if I don't use a runtime? In Aseprite and Blender I don't have any runtimes enabled and Steam is launched using /usr/bin/steam-native. Or does Steam apply a runtime to Linux games by default? In this case, is there a way I can disable the runtime to test if it works without it?