this post was submitted on 03 Feb 2024
990 points (98.3% liked)
linuxmemes
20946 readers
139 users here now
I use Arch btw
Sister communities:
- LemmyMemes: Memes
- LemmyShitpost: Anything and everything goes.
- RISA: Star Trek memes and shitposts
Community rules
- Follow the site-wide rules and code of conduct
- Be civil
- Post Linux-related content
- No recent reposts
Please report posts and comments that break these rules!
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
In theory this issue can be solved with LD_PRELOAD trick. E.g. redirect all/most/some
fopen
calls to "$HOME" to some other directory. But before I try to tackle it myself: is there already a similar solution like that?https://github.com/OpenMandrivaSoftware/steam_xdg_enforcer
You could probably do it with bubblewrap or something equivalent. Here's someone asking about this exact thing:
https://unix.stackexchange.com/questions/651788/redirect-single-file-or-directory-using-bubblewrap
I do it with Bubblejail for Steam and a symlink to .local/share/Steam for compatibility with tools.