• Gleddified
    link
    fedilink
    641 year 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
      1 year 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
        291 year ago

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

      • WasPentalive
        link
        fedilink
        16
        edit-2
        1 year 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.

        • unalivejoy
          link
          fedilink
          English
          51 year ago

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

          • WasPentalive
            link
            fedilink
            31 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.

        • @[email protected]
          link
          fedilink
          51 year ago

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

      • darcy
        link
        fedilink
        141 year ago

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