• Floey@lemm.ee
      link
      fedilink
      arrow-up
      9
      ·
      1 year ago

      It’s changeable so I don’t really mind but I hate the XDG default data dirs used by most OSs. Uppercase feels out of place, organizing things based on mine type (ex. “Video”) feels wrong, and wtf is a “Desktop”.

      • Eager Eagle@lemmy.world
        link
        fedilink
        English
        arrow-up
        9
        ·
        1 year ago

        same, I just delete all these dirs and use ~/downloads for everything. If I need a file for more than a couple of hours, it goes somewhere it makes sense, not to a generic dumpster like “Documents”.

        • evranch@lemmy.ca
          link
          fedilink
          arrow-up
          8
          ·
          1 year ago

          Been downloading most things to /tmp for years and it was a great decision.

          By the time you’ve extracted, built a binary, picked out what you wanted and put it somewhere sensible, or just realized it won’t do what you need, all that’s left over is cruft that gets wiped on the next boot.

          • nossaquesapao@lemmy.eco.br
            link
            fedilink
            arrow-up
            6
            ·
            edit-2
            1 year ago

            Me too. Many distros mount /tmp on ram, so it even helps process things faster, and maybe saves a few writes from ssds. Back when I used an hdd, the diference was brutal.

    • bitsplease@lemmy.ml
      link
      fedilink
      arrow-up
      15
      ·
      1 year ago

      I would fucking love it if I could put all my configs there, but unfortunately every other CLI tool seems to feel it needs a spot in the home dir instead…

      • Free Palestine 🇵🇸@sh.itjust.works
        link
        fedilink
        arrow-up
        11
        ·
        edit-2
        1 year ago

        It’s used to store configuration files for various applications so they don’t clutter up your home directory. For example, you can put your Emacs config files in ~/.config/emacs instead of ~/.emacs.d. Not every program supports it though.

        • nul9o9@lemmy.world
          link
          fedilink
          arrow-up
          6
          ·
          1 year ago

          Every project should at least move the default config location to the ./config folder. Even better if they create their own subdirectory in there.

          • DreamButt@lemmy.world
            link
            fedilink
            English
            arrow-up
            6
            ·
            1 year ago

            Every tool I build checks three places:

            1. An env variable (if it exists) which should point to a dir of the users choosing
            2. ~/.config/tool-name/
            3. ~/.tool-name

            Which imo is how every modern application should work

            • dan@upvote.au
              link
              fedilink
              arrow-up
              1
              ·
              edit-2
              1 year ago

              For number 2, is it hard-coded to ~/.config or does it read XDG_CONFIG_HOME? The latter is what it should do, so that the user has the flexibility to move all their configs elsewhere.

              • DreamButt@lemmy.world
                link
                fedilink
                English
                arrow-up
                1
                ·
                1 year ago

                It’s from $HOME so you would want to use the first option

                But it’s GTK that var is used by some people

                • dan@upvote.au
                  link
                  fedilink
                  arrow-up
                  2
                  ·
                  1 year ago

                  Please follow XDG specs and use $XDG_CONFIG_HOME instead of $HOME/.config. $HOME/.config could be a fallback if $XDG_CONFIG_HOME isn’t set. :)

  • u/lukmly013 💾 (lemmy.sdf.org)@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    20
    ·
    1 year ago

    Fine, it’s 23:46. You got me to check my PC. Let’s have a look.

    ls -A ~/
    2FAlist.txt
    Applications
    aurpkt
    .bash_history
    .bash_logout
    .bash_profile
    .bashrc
    .cache
    .cddb
    .cert
    Cisco Packet Tracer 8.2.1
    .cmake
    .config
    .cups
    Desktop
    .dir_colors
    Documents
    .dosbox
    Downloads
    dump1090
    .dvdcss
    .elinks
    .face
    .face.icon
    .fltk
    .fonts.conf
    .gnupg
    .gnuradio
    .gphoto
    .grc_gnuradio
    .gr_fftw_wisdom
    .gr_fftw_wisdom.lock
    gr-gsm
    .gtkrc-2.0
    .hplip
    .icons
    iqtosharp
    .java
    .kal_fftw_plan
    .kde4
    .lesshst
    .local
    .minetest
    missaurpkg.png
    .mozilla
    Music
    .openjfx
    options.txt
    .packettracer
    packettracer
    Pictures
    .pki
    pkttheme
    Public
    .putty
    .python_history
    qsstv
    .qt-dab.ini
    .qt-dab-presets.xml
    .qt-dab-schedule.ini
    .qt-scanList.xml
    .rnd
    rtl_wmbus
    sdr-trunk
    SDRTrunk
    sdr-trunk-linux-x86_64-v0.5.0-beta6
    sdr-trunk-linux-x86_64-v0.5.3
    snapcore.png
    speedtest-1.2.0
    .ssh
    .ssr
    .steam
    .steampath
    .steampid
    Templates
    tmp
    Videos
    .viminfo
    VirtualBox VMs
    .wget-hsts
    .wine
    wmbusmeters
    .wxlistlog
    .wxtoimg
    wxtoimg
    .wxtoimglic
    .wxtoimgrc
    .Xauthority
    .Xclients
    .xinitrc
    .zcompdump
    zesarux
    .zesaruxrc
    .zhistory
    .zshrc
    

    Pretty clean, I’d say. At least on this install.

  • Sagrotan@lemmy.world
    link
    fedilink
    arrow-up
    16
    ·
    edit-2
    1 year ago

    .config
    .config.BAK
    .config.BAK2
    .config.OLD
    .config.bspwm
    .config.CWM
    .config.JACKAUDIO
    .config.LFS1
    etc etc

  • 0x4E4F@infosec.pub
    link
    fedilink
    English
    arrow-up
    11
    arrow-down
    1
    ·
    1 year ago

    I never share screenshots, my desktop is boring… practical, nothing really fancy.

  • aardA
    link
    fedilink
    arrow-up
    8
    ·
    1 year ago

    It’s getting better. I recently removed a bunch of AIX and Solaris specific dotfiles/directories that haven’t been of use for years.

    • sushibowl@feddit.nl
      link
      fedilink
      arrow-up
      6
      ·
      edit-2
      1 year ago

      Lots of tools ignore xdg, and issues asking to add support get bogged down in backwards compatibility problems. The best they achieve is to introduce yet another env variable to control where the config goes. It’s really annoying.

      I have a bunch of TOOLX_CONFIG="$XDG_CONFIG_HOME/toolx" stuff in my bashrc.