shadowintheday2@lemmy.world to linuxmemes@lemmy.worldEnglish · 11 months agoYour .dots have arrivedlemmy.worldimagemessage-square71fedilinkarrow-up11.01K
arrow-up11.01KimageYour .dots have arrivedlemmy.worldshadowintheday2@lemmy.world to linuxmemes@lemmy.worldEnglish · 11 months agomessage-square71fedilink
minus-squarejanAkalilinkfedilinkEnglisharrow-up25·11 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·11 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·11 months agoI do it with Bubblejail for Steam and a symlink to .local/share/Steam for compatibility with tools.
minus-squareMonkderZweite@feddit.chlinkfedilinkarrow-up4·11 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