SMAPI cannot open a terminal when using flatpak steam
vermarine opened this issue ยท 2 comments
Describe the bug
The flatpak version of steam has no access to the binaries of the host so unix-launcher.sh fails to detect and launch a terminal and proceeds to run headless, leaving the user with no way to access the SMAPI console.
A dirty workaround could be to use flatpak-spawn --host within unix-launcher.sh to open itself (unix-launcher.sh) on the host and then within the launcher running on the host proceed with the shell detection and finally return to the flatpak sandbox (ex. with gnome-terminal -- flatpak enter com.valvesoftware.Steam sh -c "cd \"$HOME/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Stardew Valley\" && ./StardewModdingAPI STEAM_RUNTIME=..."
)
To Reproduce
- Install the flatpak version of Steam (Linux)
- Install Stardew Valley on the flatpak version of Steam
- Install SMAPI
- Launch Stardew Valley: the SMAPI console is never shown
Hi! I don't use the Flatpak version of Steam, but pull requests are welcome if you want to contribute a fix for it.
The install guide on Linux covers Flatpak too now, so I'll close this. Thanks for reporting it!