-
-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document --no-sandbox
Linux launch option
#49
base: main
Are you sure you want to change the base?
Conversation
I can't say that I entirely understand why this workaround fixes #42, but it does. One of our users first pointed out that |
This documentation PR has been open for months now. Can we merge this? |
@@ -68,6 +68,10 @@ To make the steam overlay working, call the `electronEnableSteamOverlay` on the | |||
require('steamworks.js').electronEnableSteamOverlay() | |||
``` | |||
|
|||
[Some users have reported an issue when launching Linux apps](https://github.com/ceifa/steamworks.js/issues/42). A workaround is available, to pass a `--no-sandbox` as an argument to the app launcher in Steamworks --> Steamworks Settings --> Installation --> General Installation --> Launch Options. (Note that `--no-sandbox` makes it unsafe to run third-party code, but as long as you're only running game code under your own control, it should be fine.) A screenshot example of this appears below. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This only happens on steam deck or linux in general?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Back in Sep 2022, I reproduced the issue on Ubuntu 22 and Manjaro 22.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also can confirm that this is an issue that happens to Linux 'in general'.
According to the bug reports that our game (Friendly Fire) received from Linux users, it seems to me that --no-sandbox
currently is the only viable option to push a reliable working Linux version of our Electron-based game.
I have the feeling, that Ubuntu users in particular seem to be having fewer problems than users of other distributions, but that assumption might very well be totally wrong.
Can we make the screenshot an external link? For something that doesn't need to be configured on all cases, it's taking up a lot of documentation space |
It needs to be configured on all cases. Most people just don't realize it (or they don't support Linux/Steam Deck). |
My steam game runs without it and works great on ubuntu |
What's your game? Does it work on Steam Deck? |
No, and it's not intended to |
Fixes #42.