-
Notifications
You must be signed in to change notification settings - Fork 427
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add new Steamdeck guide, document setup and workarounds for Pip…
…ewire audio. Fix #960 Signed-off-by: Luca Di Maio <[email protected]>
- Loading branch information
Showing
5 changed files
with
82 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# Install Distrobox on the Steamdecl | ||
|
||
To install Distrobox on the steamdeck, we can install both `podman` and `distrobox` | ||
inside the `$HOME` so that containers will survive updates. | ||
|
||
## Install Podman | ||
|
||
To install podman, [refer to the install guide](install_podman_static.md#): | ||
|
||
- Download the latest release of `podman-launcher` and place it in your home and rename it to `podman`, this example will use `~/.local/bin` | ||
- Setup `deck` user password using: | ||
- `passwd` | ||
- Setup `deck` user uidmap | ||
- `sudo touch /etc/subuid /etc/subgid` | ||
- `sudo usermod --add-subuid 100000-165535 --add-subgid 100000-165535 deck` | ||
|
||
And `podman` is ready to use! | ||
|
||
## Install Distrobox | ||
|
||
Installing distrobox in HOME is quite straightforward: | ||
|
||
- Install `distrobox` in your HOME following the `curl` instructions: | ||
- [INSTALL](../README.md#curl-or-wget) | ||
|
||
## Setup ~/.distroboxrc | ||
|
||
We need to add some tweaks to our `~/.distroboxrc` to have GUI and Audio working | ||
correctly in SteamOS | ||
|
||
Ensure your `~/.distroboxrc` has this content: | ||
|
||
```sh | ||
xhost +si:localuser:$USER | ||
export PIPEWIRE_RUNTIME_DIR=/dev/null | ||
export PATH=$PATH:$HOME/.local/bin | ||
``` | ||
|
||
This will force the use of `pulseaudio` inside the container, right now `pipewire` | ||
is not working correctly inside the container, and it's a SteamOS specific issue. | ||
|
||
`xhost` is needed to ensure the graphical apps can talk to the Xwayland session. | ||
|
||
`PATH` is needed to ensure distrobox can find the `podman` binary we previously | ||
downloaded. | ||
|
||
# Start using it! | ||
|
||
You can now start using `distrobox` on the deck, open the terminal and go: | ||
|
||
`distrobox create && distrobox enter` | ||
|
||
Refer to the [quickstart guide](../README.md#quick-start) and to the [usage docs](../usage/usage.md) | ||
And don't forget the [useful tips](../useful_tips.md)! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters