• Gleddified@lemmy.ca
    link
    fedilink
    arrow-up
    64
    ·
    9 months ago

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

    • unalivejoy@lemm.ee
      link
      fedilink
      English
      arrow-up
      74
      arrow-down
      1
      ·
      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
      • WasPentalive@beehaw.org
        link
        fedilink
        arrow-up
        17
        arrow-down
        1
        ·
        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.

        • unalivejoy@lemm.ee
          link
          fedilink
          English
          arrow-up
          5
          ·
          9 months ago

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

          • WasPentalive@beehaw.org
            link
            fedilink
            arrow-up
            3
            ·
            9 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.

        • flying_sheep@lemmy.ml
          link
          fedilink
          arrow-up
          5
          ·
          9 months ago

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