this post was submitted on 27 Apr 2025
282 points (99.0% liked)
Games
38120 readers
1397 users here now
Welcome to the largest gaming community on Lemmy! Discussion for all kinds of games. Video games, tabletop games, card games etc.
Weekly Threads:
Rules:
-
Submissions have to be related to games
-
No bigotry or harassment, be civil
-
No excessive self-promotion
-
Stay on-topic; no memes, funny videos, giveaways, reposts, or low-effort posts
-
Mark Spoilers and NSFW
-
No linking to piracy
More information about the community rules can be found here and here.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
In Lutris there's a "Command prefix" configuration option both per-game and one in the global config with the default for all games, which is where the firejail command line goes (basically for sandboxing with firejail you're supposed to run "firejail firejail-options original-command original-options" and putting firejail and its options in "command prefix" does that).
Note that there are other sandboxing options that run in the same way as firejail but I found firejail to have more straightforward options.
Also note that this won't sandbox the actual setup of a game, only the running of the game.