• Gleddified
    link
    fedilink
    639 months ago

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

    • unalivejoy
      link
      fedilink
      English
      73
      edit-2
      9 months ago

      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
        link
        fedilink
        299 months ago

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

      • WasPentalive
        link
        fedilink
        17
        edit-2
        9 months ago

        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
          link
          fedilink
          59 months ago

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

        • unalivejoy
          link
          fedilink
          English
          59 months ago

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

          • WasPentalive
            link
            fedilink
            39 months 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
        link
        fedilink
        149 months ago

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