shadowintheday2@lemmy.world to linuxmemes@lemmy.worldEnglish · 9 months agoYour .dots have arrivedlemmy.worldimagemessage-square71fedilinkarrow-up11.01Karrow-down117
arrow-up1988arrow-down1imageYour .dots have arrivedlemmy.worldshadowintheday2@lemmy.world to linuxmemes@lemmy.worldEnglish · 9 months agomessage-square71fedilink
minus-squarejanAkali@lemmy.onelinkfedilinkEnglisharrow-up25·9 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-squareCorngood@lemmy.mllinkfedilinkarrow-up4·9 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·9 months agoI do it with Bubblejail for Steam and a symlink to .local/share/Steam for compatibility with tools.
minus-squareMonkderZweite@feddit.chlinkfedilinkarrow-up4·9 months agohttps://github.com/OpenMandrivaSoftware/steam_xdg_enforcer
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?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.
https://github.com/OpenMandrivaSoftware/steam_xdg_enforcer