shadowintheday2@lemmy.world to linuxmemes@lemmy.worldEnglish · 7 months agoYour .dots have arrivedlemmy.worldimagemessage-square73fedilinkarrow-up1996arrow-down117
arrow-up1979arrow-down1imageYour .dots have arrivedlemmy.worldshadowintheday2@lemmy.world to linuxmemes@lemmy.worldEnglish · 7 months agomessage-square73fedilink
minus-squarejanAkali@lemmy.onelinkfedilinkEnglisharrow-up25·7 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-squareMonkderZweite@feddit.chlinkfedilinkarrow-up4·7 months agohttps://github.com/OpenMandrivaSoftware/steam_xdg_enforcer
minus-squareCorngood@lemmy.mllinkfedilinkarrow-up4·7 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-squareMonkderZweite@feddit.chlinkfedilinkarrow-up1·7 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.