Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Running Steam in a simple sandbox
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
lexming
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jan 2007
Posts: 122
Location: Barcelona

PostPosted: Sat Aug 01, 2015 12:00 pm    Post subject: Running Steam in a simple sandbox Reply with quote

Hi, I have successfully applied a sandbox to Steam thanks to the sandbox utility that Portage uses to safely emerge new packages. This tool allows to easily set an environment limiting the access to the filesystem on a selective way. Combining the sandbox with the $HOME and $XDG_DATA_HOME environment variables, Steam can be fully contained in a single folder that holds the steam client, game files and also the full mess of saves and config files. This setup does not put any more order on the constellation of files created by steam and the games, but at least it places them in a single folder away of your home. A short guide with instructions is available here: http://nthloop.blogspot.be/2015/07/simple-sandboxed-steam-on-gentoo.html

I have tested it for a few months and it works well. Steam and the games play and update as usual. The only issue I've found are a few games that search the home folder based on the user's name, and do not follow any env variables. These games will fail to start. However, it is easy to spot what files/folders they are trying to create outside of the sandbox and if necessary, it is also possible to create symlinks in place of those files/folders to somewhere inside the sandbox.

If you try it out and find any errors on the guide or problems with the setup, please let me know. :-)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum