6 ms·
I made a separate user for using Steam (and other games), and it involved a little bit of routing when it comes to X11 and PulseAudio. My reason for doing so wa
by notthemessiah 10y ago
I made a separate user for using Steam (and other games), and it involved a little bit of routing when it comes to X11 and PulseAudio. My reason for doing so was primarily because of how games create many dotfiles, and I wanted my home folder clean.
- ekianjo 10y agoDo you mind sharing how you did this in more details ? I am also not happy with the way Steam games put files in random locations...
- notthemessiah 10y agoFor PulseAudio: I needed to load a few modules that opened a TCP socket for myself between users (under TCP support with anonymous clients): https://wiki.archlinux.org/index.php/PulseAudio/Examples#PulseAudio_over_network https://wiki.archlinux.org/index.php/PulseAudio/Examples#Pul... Forgot exactly what I did with X11, but one part of it was having an environment variable that used my main users XAuthority E.G. [gamer@mycomputer]$ echo $XAUTHORITY /home/notthemessiah/.Xauthority
- AckSyn 10y agoI did something similar by installing Steam to a chroot environment. "Those who do not understand UNIX are condemned to reinvent it, poorly." -- Henry Spencer, programmer This goes doubly for "containers" not understanding chroot/jails.
- jjnoakes 10y agoAre you suggesting that containers provide about what chroot provides? Containers provide chroot-like behavior for more than just the filesystem. Processes, user IDs, network interfaces... Chroot is filesystem only.
- arno1 10y agoWell, there is a distinct difference between traditional chroot and the Linux control groups and namespaces. If only chroot was enough, noone would be investing their time to the cgroups, namespaces, LXC, Docker, etc... :-)