this post was submitted on 28 Sep 2023
678 points (98.7% liked)

Linux

48333 readers
614 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
you are viewing a single comment's thread
view the rest of the comments
[–] joyjoy@lemm.ee 73 points 1 year ago* (last edited 1 year ago) (5 children)

Let's count them. (not including legacy or standard locations like .local, .config, or .cache, .ssh, and shell configuration files

  • .aws
  • .azure
  • .bun
  • .byobu
  • .cargo
  • .dbus
  • .docker
  • .dokku
  • .keychain
  • .kube
  • .minikube
  • .motd_shown
  • .node_repl_history
  • .npm
  • .nuxt
  • .nuxtrc
  • .nvm
  • .oh-my-zsh
  • .pack
  • .psql_history
  • .pyenv
  • .python_history
  • .redhat
  • .ruff_cache
  • .rustup
  • .selected_editor
  • .sqlite_history
  • .sudo_as_admin_successful
  • .tmux.conf
  • .tox
  • .ts_node_repl_history
  • .vim
  • .viminfo
  • .vimrc
  • .vscode-server
  • .wget-hsts
  • .yarn

And a couple more, non-hidden files for Go.

  • go
  • sdk/go1.20
[–] darcy@sh.itjust.works 29 points 1 year ago

i can almost ignore the hidden ones, but ~/go? no thats just rude

[–] waspentalive@beehaw.org 16 points 1 year ago* (last edited 1 year ago) (2 children)

Why aren't all of these just normal directories under either .local (for data files) or .config (for configuration)???

Actually, I think the XDG directories should be under a single XDG directory either dotted or not (a better name would be OK with me) ~/xdg/Documents, ~/xdg/Music, ~/xdg/Pictures etc.

[–] flying_sheep@lemmy.ml 5 points 1 year ago

That's the beauty: XDG compliant applications are entirely configurable using standardized environment variables.

[–] joyjoy@lemm.ee 5 points 1 year ago (1 children)

Documents, Music, etc actually are configurable. Just edit ~/.config/user-dirs.dirs

[–] waspentalive@beehaw.org 3 points 1 year ago

I also had to (under KDE)

  • Edit the settings for each of the folders in Dolphin (The file manager)

  • Edit the location of the desktop folder in the settings found by right-clicking the desktop and going into "Configure Desktop and Wallpaper" Location.

  • Edit the show item by choosing Custom Location, and adding the XDG directory for the desktop. This setting may not stick.

[–] darcy@sh.itjust.works 14 points 1 year ago (1 children)

afaik, tmux can use ~/.config/tmux/tmux.conf or something, if ~/.tmux is not found

[–] flying_sheep@lemmy.ml 5 points 1 year ago

Neat! Git has the same behavior.

[–] mod@sh.itjust.works 5 points 1 year ago

If these were links to issues that could be reacted to, I'd totally do that.

[–] Mio@feddit.nu 1 points 1 year ago

Is it a problem to change this?