988
you are viewing a single comment's thread
view the rest of the comments
[-] janAkali@lemmy.one 25 points 6 months ago

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?

[-] Corngood@lemmy.ml 4 points 6 months ago

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

[-] MonkderZweite@feddit.ch 1 points 6 months ago

I do it with Bubblejail for Steam and a symlink to .local/share/Steam for compatibility with tools.

this post was submitted on 03 Feb 2024
988 points (98.3% liked)

linuxmemes

20363 readers
588 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS