this post was submitted on 24 Jun 2023
37 points (100.0% liked)

Linux

48677 readers
433 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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!

you are viewing a single comment's thread
view the rest of the comments
[–] TootSweet@latte.isnot.coffee 4 points 2 years ago (2 children)

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//.config/someapp on the host to /home//.someapp in the container.

[–] knfrmity@lemmygrad.ml 8 points 2 years ago

I run as much as I can in Docker for this reason among others.

[–] jntesteves@lemmy.world 2 points 2 years ago* (last edited 2 years 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 @knfrmity@lemmygrad.ml