Comment on Why install other Linux ISOs on Steam Deck?
rklm@lemmy.dbzer0.com 6 months agoI also use my steam deck as my daily driver (dockcase 10 in 1 with peripherals etc).
I had been using arch for years before I got the steam deck, and for the first 8 months or so I unlocked the btrfs partition and installed everything I needed normally (kvm/qemu, devel libraries and Linux headers for c++ development, etc)… But every update from valve would destroy my environment and I had to run custom scripts to fill my etc directory back in…
For the past many months I’ve been using distrobox (which I believe comes pre-installed on the latest steamdeck updates) with a rootless arch environment inside, and flatpaks for everything that requires systemd.
You can symlink things like xdg-open from inside the container to your host, and end up with a pretty seamlessly integrated experience (distrobox does a lot of this for you anyway, and comes with utilities which make this pretty easy.)
If you want direct control of the system, this is not going to be a convenient setup, but if you’re interested in treating it like an immutable OS, there are userspace ways of getting around it’s limitations.
SteamOS has inspired me to make future installs immutable (and atomic/declarative using containers?), because it can be kinda nice once you get used to it.
I hope this helps or was interesting!
supersquirrel@sopuli.xyz 6 months ago
Yes I agree in the vast majority of cases distrobox is the way to go, I made a short post on the “List Of useful tools” post that I might as quote here.
Here is a guide to installing and using distrobox on the Steam Deck. The usefulness of using distrobox is that distrobox sets up little mini environment you can install programs too that is outside the context of the immutable SteamOS operating system. Thus, after updates, software or setups you install in a distrobox environment will remain the same. Distrobox is more than just a simple bifurcation between the main SteamOS and a virtual environment, it provides tools to set up the ability to connect programs between the two for advanced setups (though you can ignore this stuff and just use the defaults).
What Distrobox does (quote) Guide For Installing Distrobox On The Steam Deck
github.com/89luca89/…/steamdeck_guide.md
Quckstart Guide
github.com/89luca89/distrobox/blob/…/README.md#qu…
Distrobox Guide Homepage
github.com/89luca89/distrobox/tree/main/docs#read…
note because distrobox is a process that can be run by command line, you could presumably launch distrobox in a terminal window in Gaming Mode and keep everything for that session within that steam Big Picture window no problem. I am gonna have to keep experimenting with this, I will update with progress.j
rklm@lemmy.dbzer0.com 6 months ago
This is a great write-up! I’m going to save it for reference.
Thank you!