this post was submitted on 22 Sep 2024
76 points (97.5% liked)
Linux Gaming
15300 readers
13 users here now
Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME
away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.
This page can be subscribed to via RSS.
Original /r/linux_gaming pengwing by uoou.
Resources
WWW:
Discord:
IRC:
Matrix:
Telegram:
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Part of the problem is, sure, that installing an entire arch for a package touches up a lot of stuff... What I did was I set up a debootstrap schroot and added i386 arch to that so that neither they nor Steam touch my main system. Not only did I never have problems with Steam again, but I actually resumed pretty much from what I was when I got a new machine, simply by copying the schroot files over. Didn't even have to install anything (but the schroot serve on my new system itself).
This sounds like a good solution. Can you share how you did it?
I basically took the general idea from this Ubuntu doc and made som changes. After installing debootstrap, I followed these general steps:
adduser steam
./var/lib/chroot/steam64
.steam
as one of its allowed users.debootstrap --variant=buildd bionic /var/lib/chroot/steam64 http://archive.ubuntu.com/ubuntu/
xhost +local:
.xnest
andxterm
; between their dependencies, they'll take care of most of everything).steam
and fired up the Steam launcher manually.It's not perfect, there are a few issues (in particular with audio) but once I had the installed schroot ready, I never had to worry about its 32-bit packages ever again. And that was back in.... like, 2019 or something. Six months ago I copied to old schroot to my new machine and resumed playing, with no more cost than having to set up the schroot packages and the
steam
user (with the same old UID) on the new machine.Here's a sample of the schroot profile file I'm using. The "steam64.local" is the profile directory, which is basically a copy of schroot/buildd (or of schroot/minbase) with some configurations in
fstab
andcopyfiles
to account for eg.: isolating /var/run and dbus, and giving the schroot access to the home directory for thesteam
user.Have you tried our saviour nixos? Its pretty hot, was very very easy to install and configure.
Tried Nix once, I liked it but overall found it too complicated to setup and manage for the [counts fingers] three programs I was using it for. Might be worth the while if I need a larger library of programs from Outside, but so far Debian and AppImages have not failed me.
If your used to shell it's really set and forget and a simple install would be very easy to configure. Best part being if you need to reinstall (highly unlikely for nixos being how easy it is to change OS config back) but it saves you an enormous amount of time on your subsequent installs/reinstalls. Anyway, getting preachy.
Its not just a much larger repo but also much more fresh, additionally can be used on any distro really
Oh no by all means do preach. I was just about doing the same about schroot. :p
And, like I said, it's not that I don't like it. It was just too much for the rather small usecase I had back at the time. I'm pretty sure if at some point I move to a distro less featured than Debian Sid I'm gonna have to pay more attention to Flatpak and Nix again.
Debian branch will always have a special place for me as well.
Vimjoyer on youtube has some great resources for getting started in nix if you feel like dipping your toe.