4 ms·
> iff you install the other runtime. When you do, you’re using twice as much disk space, more memory (due to less sharing), Such concerns are almost always pre
by LarryMullins 4y ago
> iff you install the other runtime. When you do, you’re using twice as much disk space, more memory (due to less sharing),
Such concerns are almost always premature optimization. It costs next to nothing to use Dolphin in Gnome or Nautilus in KDE. Virtually all KDE users have at least some GTK applications they use anyway, Firefox uses GTK and most KDE users use Firefox. The only time this might become an issue is if you enjoy running modern software on antique hardware.
And refusing to use a Qt application in Gnome because you think it will increase your attack surface is.. very odd. If you're only using a single file manager, then you only have to worry about vulnerabilities related to a single file manager. Vulnerabilities in another which you have installed but don't run aren't relevant. I'm using PCManFM but also have Dolphin installed. If there is a Dolphin vulnerability, why should I worry about it? Having Dolphin installed doesn't expose me to any meaningful risk and only costs me about 2MB of hard drive space. It's nothing. It's not even worth my time to uninstall it.
> Electron is really a distinct platform. It requires an underlying DE
I mean.. it doesn't. Electron apps work with bare bones tiling window managers, they generally don't make any assumptions about desktop environments or require you to use one at all. And that's the way it is with other GUI frameworks, and the way it should be.
If you want to make a native linux desktop application, then just pick whichever framework you like best and stop worrying about what DE your users prefer. Their DE preference should have no bearing on your choice. If you choose GTK like Mozilla did, that's not going to stop 99.9% of KDE users from using your program. One in a thousand KDE users actually using Konqueror to browse the web is probably a generous estimate..
tl;dr: "Too many DEs" is not an authentic impediment to writing programs for Linux. It's just an excuse frequently cited by Windows developers who usually don't understand Linux in the first place. 'Fragmentation' is a convenient excuse for their (IMHO reasonable!) unwillingness to cater to such a small number of people. If Qt/KDE didn't exist and GTK/Gnome were the whole of the Linux desktop experience, they'd find another excuse.