You are viewing a single thread.
View all comments
64 points

One of my greatest pet peeves is random folders appearing in my home folder. Thanks for this

permalink
report
reply
73 points
*

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
permalink
report
parent
reply
1 point

Is it a problem to change this?

permalink
report
parent
reply
14 points

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

permalink
report
parent
reply
5 points

Neat! Git has the same behavior.

permalink
report
parent
reply
29 points

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

permalink
report
parent
reply
5 points

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

permalink
report
parent
reply
16 points
*

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.

permalink
report
parent
reply
5 points

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

permalink
report
parent
reply
5 points

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

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

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

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

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

Community stats

  • 7.9K

    Monthly active users

  • 6.3K

    Posts

  • 175K

    Comments