this post was submitted on 14 Jul 2024
280 points (94.6% liked)

Linux

56385 readers
690 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 6 years ago
MODERATORS
 

Shameless plug: I am the author.

(page 2) 50 comments
sorted by: hot top controversial new old
[–] walthervonstolzing@lemmy.ml 5 points 1 year ago (1 children)

vim now has an option to put the .vim folder in ~/.config; though I'm not sure if the default plugin/package & syntax folders can be set under ~/.local/share.

[–] PlexSheep@infosec.pub 1 points 1 year ago

You can also just use neovim instead, among other improvements, it's configs are in the xdg dirs

[–] Thcdenton@lemmy.world 5 points 1 year ago

YOU'RE NOT MY MOM I'LL DO WHAT I WANT

[–] sfera@beehaw.org 1 points 1 year ago (3 children)

Are there abstractions available around the XDG specifications to resolve the proper paths?

[–] dan@upvote.au 5 points 1 year ago (1 children)

Use the environment variables.

[–] sfera@beehaw.org 1 points 1 year ago (1 children)

I do. But you might have misunderstood my question. I was not asking for assistance. I was just curious if there are libraries available which allow easy adoption of the XDG specification. I imagine that such abstractions would be useful for multi-platform software and generally to lower the bar for adoption.

[–] dan@upvote.au 2 points 1 year ago

Depends on the programming language. In C# for example, there's an API to get special folder paths that works in all supported environments (Windows, Linux, MacOS, Android, and I think iOS too). On Linux, it includes fallbacks in case the environment variables aren't set.

load more comments (2 replies)
[–] daniyeg@lemmy.ml 1 points 1 year ago
load more comments
view more: ‹ prev next ›