The template of this meme is that of the man who cheerfully points his hand at a butterfly, asking “Is this a pigeon”?. In this meme, the man has been covered with icons of the applications IntelliJ, VSCode, Chromium and Signal. The butterfly which he points to is overlaid with the caption “.config”. He asks “Is this a trash can?” At the bottom of the image, we see the command du -sh executed on the directories .config/chromium/ and .config/Code, yielding file sizes of 1016M and 83M respectively.

    • onlinepersona@programming.dev
      link
      fedilink
      arrow-up
      33
      ·
      edit-2
      15 days ago

      The signal community should band together and write a signal client that doesn’t use the waste of space called electron. There is a rust library for signal and slint for cross platform UIs. Slint is even working (slowly) on mobile targets

      Anti Commercial-AI license

    • Engywuck@lemm.ee
      link
      fedilink
      arrow-up
      2
      arrow-down
      8
      ·
      16 days ago

      Firefox saves its config outside of .config/ as well, IIRC. Can’t check now, I have actually put that crappy browser in the trash bin long ago.

      • unhrpetby@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        15 days ago

        Yes. ~/.mozilla. Its annoying.

        You can fix it with a hack by putting a shell script in your path (before the original firefox) that consist of:

        #!/bin/sh
        
        HOME='/home/engywuck/.local/share/firefox' /usr/bin/firefox
        

        Call that instead of the original firefox from now on. it will create the “librewolf” folder in ~/.local/share and chuck its junk in there.

        Edit: This bug has been open for TWENTY YEARS.

        Honestly ridiculous.

        • ikidd@lemmy.world
          link
          fedilink
          English
          arrow-up
          13
          ·
          edit-2
          15 days ago

          Usually the shit-talkers use some fork of FF that would last about 5 minutes if FF ceased to exist.

          Or fucking Brave, the cryptoscam browser.

        • Wilmo Bones@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          14 days ago

          Thats because flatpaks treat each apps directory as their own $HOME so instead of $HOME/.mozilla its $HOME/.var/app/{app_name}/.mozilla

          Which is still fantastic dont get me wrong. But Mozilla hasn’t stopped hardcoding their Mozilla folder instead of the xdg dirs even throughf firefox issue tracker has had it on there for 20 years

    • renzev@lemmy.world
      link
      fedilink
      arrow-up
      14
      arrow-down
      1
      ·
      edit-2
      15 days ago

      Archwiki has a huge list of apps that do this with instructions on how to force them to not do this. You might find it useful.

      Personally though, I’ve given up on wrangling stubborn apps and just use flatpak and docker for everything. It can’t crap in your ~/ if it doesn’t have access to it!

  • Brewchin@lemmy.world
    link
    fedilink
    English
    arrow-up
    29
    ·
    15 days ago

    So much this. It’s like these clowns don’t read the XDG directory spec and think $XDG_CONFIG_HOME and $XDG_DATA_HOME are interchangeable, and even that cache files can be in either or both. No, one directory you need to backup for when things go sideways, and the other can go to /nev/dull.

    I’m not a fan of ~/.local/share/ being the data directory (two directories deep seems stupid), but it’s definitely where regular data belongs.

    Never mind developers who, in 2025, still think their project is special enough for a $HOME dotfile/dotdir or - somehow worse - those who put $XDG_CONFIG_HOME/<weird-name>/subdir/[subdir/]. The latter strikes me as well-meaning Windows developers trying to follow best-practice-like-Microsoft-does, but it makes my teeth itch.

    Rant over. :)

    • renzev@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      15 days ago

      No, one directory you need to backup for when things go sideways, and the other can go to /nev/dull.

      This is why so many people have a separate git repository for their config files and a scripts that symlinks or copies those files into the actual ~/.config.

  • Mwa@lemm.ee
    link
    fedilink
    English
    arrow-up
    16
    ·
    edit-2
    16 days ago

    IntelliJ IDEA runs on a jvm right not a electron app??

    • qaz@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      16 days ago

      Yes mostly Java and Kotlin with a combination of Java Swing and Compose for the GUI afaik

    • WhyJiffie@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      1
      ·
      15 days ago

      It’s Java but don’t be afraid, nowadays it also runs a chromium browser for your Markdown needs! a few years earlier it was done without that, but if course they had to fuck that up

  • dev_null@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    14 days ago

    Apps I write put config files in XDG_CONFIG_HOME/appname/, which is usually ~/.config/appname/. What’s wrong with that?