this post was submitted on 23 Feb 2025
473 points (99.0% liked)

linuxmemes

22763 readers
626 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. ๐Ÿ‡ฌ๐Ÿ‡ง Language/ัะทั‹ะบ/Sprache
  • This is primarily an English-speaking community. ๐Ÿ‡ฌ๐Ÿ‡ง๐Ÿ‡ฆ๐Ÿ‡บ๐Ÿ‡บ๐Ÿ‡ธ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • ย 

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS
    473
    XDG_CONFIG_HOME (lemmy.world)
    submitted 20 hours ago* (last edited 20 hours ago) by alyth@lemmy.world to c/linuxmemes@lemmy.world
     

    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.

    top 44 comments
    sorted by: hot top controversial new old
    [โ€“] Brewchin@lemmy.world 6 points 2 hours 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. :)

    [โ€“] OsrsNeedsF2P@lemmy.ml 35 points 9 hours ago (2 children)

    Better than dumping into ~/

    [โ€“] pewpew@feddit.it 7 points 5 hours ago

    I don't get why so many programs do this. This is ridiculous

    [โ€“] benjaminb@discuss.tchncs.de 3 points 5 hours ago

    When I use a computer for a few months my ~/ always gets so โ€œmessyโ€, I hate it!

    [โ€“] LainTrain@lemmy.dbzer0.com 24 points 15 hours ago* (last edited 15 hours ago) (1 children)

    It gets worse, when I was doing a refine of a Mistral-7B, on both the Linux and windows rigs the default location was somewhere on my OS drive in either %appdata% or some .config/.cache bullshit which stored the entire LLM along with all checkpoints and whatnot.

    Nutter. My C drive on windows is a 120GB, all my programs are on my Q drive in software RAID. With Linux I follow the same principle, all heavy files are on a separate partition.

    [โ€“] coherent_domain@infosec.pub 9 points 14 hours ago* (last edited 8 hours ago) (3 children)

    Why is separating the OS with files necessary? I don't think large files slows down the OS anymore, because of SSD.

    [โ€“] kevincox@lemmy.ml 2 points 3 hours ago

    For .config it isn't as important to me, but putting things that can be re-created in .cache (well the proper environment variable that defaults to .cache) is very nice because I don't need to back up all of that junk.

    But it wouldn't be unreasonable to put something like .config in a git repo, and storing full history for large and frequently changing files is a waste of space if they aren't really "config".

    [โ€“] meekah@lemmy.world 8 points 8 hours ago (1 children)

    It's not necessary, just really convenient when your OS breaks

    Okay I prefer to use FDE for security, especially on laptops, so my data recovery is never going to be trivial, yet with a live environment, also not too difficult.

    [โ€“] Wrrzag@lemmy.ml 35 points 13 hours ago

    Because it makes reinstalls really easy. You can just nuke your OS but everything else remains there safely.

    [โ€“] IceFoxX@lemm.ee 91 points 19 hours ago (5 children)
    [โ€“] onlinepersona@programming.dev 34 points 14 hours ago* (last edited 14 hours ago) (1 children)

    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

    [โ€“] yonder@sh.itjust.works 10 points 9 hours ago (2 children)

    There already is one called Flare. It uses rust IIRC.

    Thanks. I'll have a look at this!

    Anti Commercial-AI license

    [โ€“] crony@lemmy.cronyakatsuki.xyz 51 points 19 hours ago (2 children)

    I use ungoogled chromium, but only for sites that absolutelly don'y wanna work on firefox.

    [โ€“] grrgyle@slrpnk.net 17 points 14 hours ago (5 children)

    I'm surprised. I haven't had a website not work with Firefox for a long time. I haven't even had to install chromium as a backup in almost two years now.

    [โ€“] wreckedcarzz@lemmy.world 1 points 4 hours ago* (last edited 3 hours ago)

    Proxmox, when connected to a host, will not see symbols and instead type the numbers instead (shift+1 etc). But it will still type a character, and it's hidden from the user, so you end up screaming WHAT THE FUCK IS WRONG WITH THIS MOTHERFUCKING PIECE OF SHIT until you try to sudo in fucking chrome and whoop works first try.

    Found that like 9 months ago. Still pissed as fuck. Like 2h of my life gone, thought I fucked my root account, fucking pissing myself trying to copy data off before I do anything in case I was fucked.

    PM needs to fix their shit.

    E: Oh, cpanel recently broke too. I can login, but am immediately logged out because lack of a security token. That one might be because I'm using librewolf, but it was working a month ago so...

    E2: synology, both nas and router, works sometimes in LW, but other times it loads the page but no content. This is regardless of if I am logged in and refresh, or if I'm just trying to login. Shit just doesn't reliably work. Chrome, it's fine.

    Just yesterday I had shadow.tech's Cloudflare "vErIFY yOuR hUmAN" fail on me in Firefox. I had fucking paid for a month already otherwise that would have been enough to turn me off.

    [โ€“] MonkeMischief@lemmy.today 2 points 7 hours ago* (last edited 7 hours ago)

    I haven't had a website not work with Firefox for a long time.

    Me too...mostly? But the cases I've seen or encountered are always government, financial, education, or medical websites with some super-bespoke "portal" that will simply act bizarre on Firefox.

    It really sucks that it seems so common to just glance at some "market-share" data and, not just assume everybody must use Chrome, but go so far as to force them to.

    [โ€“] devfuuu@lemmy.world 7 points 13 hours ago

    They are out there. I also have it around for those occasions. More common that you'd expect. Almost always some shitty site needed for work that has problems.

    [โ€“] Estebiu@lemmy.dbzer0.com 3 points 13 hours ago (1 children)

    Firefox doesnt support web serial.

    [โ€“] wreckedcarzz@lemmy.world 1 points 3 hours ago

    Oh yeah that reminds me, to use the Graphene web installer, you need chrome. To revert to factory, chrome.

    [โ€“] Mwa@lemm.ee 6 points 18 hours ago

    Same but I use Cromite or i try using a electron app (like heroic) on my pc.

    [โ€“] Aurenkin@sh.itjust.works 8 points 16 hours ago

    Chrom, grant me my RAM....and if you do not listen, then the hell with you!

    [โ€“] 30p87@feddit.org 12 points 19 hours ago (1 children)

    Well you do use files named chrome.css, as Firefox based browsers have their style css in that.

    [โ€“] IceFoxX@lemm.ee 9 points 19 hours ago* (last edited 19 hours ago) (1 children)

    Yes ok my mistake, despite * I am of course not talking about files with e.g. .css extension but only the browsers with chrome* as name. :)

    Edit: Above all, I don't want to imply that Firefox and co don't use system resources just as wastefully. But they are still the better choice.

    [โ€“] 30p87@feddit.org 8 points 19 hours ago (3 children)

    Yep, obviously, was just a joke. But technically, eg. steam is also chromium-based (which explains why it's shit)

    [โ€“] IceFoxX@lemm.ee 7 points 19 hours ago* (last edited 19 hours ago) (1 children)

    It's just a rat's tail like so many other things.

    I miss opera with own engine

    [โ€“] DmMacniel@feddit.org 3 points 17 hours ago

    Presto was nice. But I guess being quite strict about standards was just too much to handle for the chrome fanboy developers.

    [โ€“] HStone32@lemmy.world 5 points 18 hours ago (1 children)

    Valve has proven they will go to great lengths to utterly thwart would-be monopolies that threaten PC gaming (the real reason proton exists). We just need to find a way to convince them that Google is a threat too.

    [โ€“] 30p87@feddit.org 4 points 18 hours ago

    I just want better APIs. Users will do the rest. A native client, still steam-style, but made in QT. Maybe not the store etc., but display that via an external browser or inline firefox somehow.

    [โ€“] 30p87@feddit.org 3 points 18 hours ago* (last edited 18 hours ago)
    [โ€“] Mwa@lemm.ee 18 points 18 hours ago* (last edited 18 hours ago) (2 children)

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

    [โ€“] kuberoot@discuss.tchncs.de 20 points 17 hours ago* (last edited 14 hours ago) (1 children)

    I think it might still be dropping executables in .config, stuff like the JDK or even its own software versions

    [โ€“] Mwa@lemm.ee 1 points 16 hours ago

    Ohhh okay, this is what the answer I was looking for.

    [โ€“] qaz@lemmy.world 5 points 17 hours ago

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

    [โ€“] projjalm@lemy.lol 11 points 18 hours ago

    I like how electron shit's "configurations" are also trash