@shadowintheday2@lemmy.world to linuxmemes@lemmy.worldEnglish • 4 months agoYour .dots have arrivedlemmy.worldimagemessage-square73fedilinkarrow-up11K
arrow-up11KimageYour .dots have arrivedlemmy.world@shadowintheday2@lemmy.world to linuxmemes@lemmy.worldEnglish • 4 months agomessage-square73fedilink
minus-squarejanAkalilinkEnglish25•4 months agoIn 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?
minus-square@MonkderZweite@feddit.chlinkfedilink4•4 months agohttps://github.com/OpenMandrivaSoftware/steam_xdg_enforcer
minus-square@Corngood@lemmy.mllinkfedilink4•4 months agoYou 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
minus-square@MonkderZweite@feddit.chlinkfedilink1•4 months agoI do it with Bubblejail for Steam and a symlink to .local/share/Steam for compatibility with tools.
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.