shadowintheday2@lemmy.world to linuxmemes@lemmy.worldEnglish · 10 months agoYour .dots have arrivedlemmy.worldimagemessage-square71fedilinkarrow-up1985arrow-down115
arrow-up1970arrow-down1imageYour .dots have arrivedlemmy.worldshadowintheday2@lemmy.world to linuxmemes@lemmy.worldEnglish · 10 months agomessage-square71fedilink
minus-squarejanAkali@lemmy.onelinkfedilinkEnglisharrow-up25·10 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·10 months agohttps://github.com/OpenMandrivaSoftware/steam_xdg_enforcer
minus-squareCorngoodlinkfedilinkarrow-up4·10 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·10 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.