Hey guys! Is there a way for me to force apps to treat e.g. $HOME/.config/ as their default directory to look for settings? I want to clear up my home directory because its getting quite messy and I don’t even have that many packages installed yet.

Also, any way that would be easy and efficient for use with git for the purpose of backing up my dotfiles.

Thanks!

  • TootSweet@latte.isnot.coffee
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    One option might be to run certain of your apps in Docker. There are ways to go about running even graphical apps in Docker. And with Docker, you can tell it to mount /home/<username>/.config/someapp on the host to /home/<username>/.someapp in the container.

    • jntesteves@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      1 year ago

      This is the right way to solve the issue, because this is actually a security issue, and I think most people don’t realize that.

      I’m aiming to make this easier, so everybody can benefit from this approach. I haven’t publicly announced it yet because I’m still missing better documentation. But it’s pretty advanced already, and I could use feedback on how it performs on your use-cases: https://codeberg.org/contr/contr

      cc @[email protected]