Docker should be installed.
Put steam in ~/.local/bin/Steam
and execute
chmod +x ~/.local/bin/Steam
add
PATH=~/.local/bin:$PATH"
to your .bashrc
Last active
April 10, 2020 17:29
-
-
Save SidharthArya/9160d7fb19c8d4dd5feb24ae11fcfbd7 to your computer and use it in GitHub Desktop.
Steam on gentoo
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
#!/bin/bash | |
docker run \ | |
-ti \ | |
--privileged \ | |
--name steam \ | |
-e DISPLAY=$DISPLAY \ | |
-m 2G \ | |
--cpus=3 \ | |
-e PULSE_SERVER=unix:${XDG_RUNTIME_DIR}/pulse/native \ | |
-e STEAM_UID=$UID \ | |
-v /tmp/.X11-unix:/tmp/.X11-unix \ | |
-v /dev/shm:/dev/shm \ | |
-v ${XDG_RUNTIME_DIR}/pulse:${XDG_RUNTIME_DIR}/pulse \ | |
-v /home/arya/.local/share/Steam:/home/steam/.local/share/Steam \ | |
tianon/steam || docker start steam |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment