283
submitted 5 months ago by bahmanm@lemmy.ml to c/linux@lemmy.ml

Shameless plug: I am the author.

you are viewing a single comment's thread
view the rest of the comments
[-] WolfLink@sh.itjust.works 15 points 5 months ago

What I want in $HOME are the following directories:

If I’m on a GUI-based environment:

  • Desktop
  • Documents
  • Downloads

In general:

  • .local
  • my_junk_folder_i_made

I’d like everything else to live within something like ~/.local thanks

[-] dan@upvote.au 8 points 5 months ago* (last edited 5 months ago)

Maybe Linux should have .local and .roaming folders like Windows. local = only useful on this system, roaming = good to sync across systems. Config would be in .roaming if it's not machine-specific.

[-] rotopenguin@infosec.pub 6 points 5 months ago

The only practical difference between Local and Roaming and LocalLow is that developers randomly pick one and dump your game saves in there.

[-] luciferofastora@lemmy.zip 5 points 5 months ago

Does ~/.config fit the bill for the second one?

[-] dan@upvote.au 6 points 5 months ago* (last edited 5 months ago)

There's some stuff in~/.config that's specific to the computer. KDE is a good example - a lot of KDE apps mix config and state in the same file. There's some solutions for syncing these files, like https://github.com/VorpalBlade/chezmoi_modify_manager which is an addon to Chezmoi that can exclude particular keys when storing an INI-style config file in Git.

I'm sure there's some config files in there that are entirely specific to the computer. Things like the Wayland per-monitor scaling settings are in there somewhere I think.

There's also things like data files that you may want to keep in sync across machines. They're not really configs.

[-] jollyrogue@lemmy.ml 1 points 5 months ago

There is a .local folder these days.

Profile roaming hasn’t been solved aside from NFS mounts. I guess Syncthing might work.

[-] dan@upvote.au 1 points 5 months ago* (last edited 5 months ago)

I know .local exists - My comment was more about .roaming which would be nice to exist, but doesn't currently exist.

Profile roaming hasn’t been solved aside from NFS mounts. I guess Syncthing might work.

I'm using Chezmoi to sync some dotfiles, scripts, etc. to a Git repo and that seems to work well enough for me. I'm not syncing much yet, though.

this post was submitted on 14 Jul 2024
283 points (100.0% liked)

Linux

48681 readers
302 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