steam-account
Omarchy
One Steam per account, all open at the same time, with no second install and no sudo.
The commands
steam-account list | The accounts there are. |
|---|---|
steam-account add <name> | Creates the account’s folder and its entry in the launcher. The first launch downloads about 2.5 GB of Steam. |
steam-account <name> | Opens that account’s Steam. |
steam-account <name> -applaunch <id> | Starts a game by its app id. |
steam-account <name> -shutdown | Closes it cleanly. |
steam-account remove <name> | Deletes the account’s folder, with its installed games, after you type CONFIRM. |
How it works
The Steam that Flatpak installs is the first account, called labs. Every other account is the same Flatpak started with a home folder of its own, under ~/.steam-accounts, so sessions and settings never meet.
All of them share /tmp, where Steam names its socket after its process number, and every sandbox would start at the same number. So each account starts a thousand numbers further along, and every window can open.
Limits
While a game runs on an account, that Steam ignores -applaunch and steam:// links. A game can be copied to another account without downloading it again, on btrfs: the cheat sheet has the commands.