this post was submitted on 09 Dec 2025
764 points (95.5% liked)

linuxmemes

28444 readers
1786 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.
  • 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, no politics, no trolling or ragebaiting.
  • Don't come looking for advice, this is not the right community.
  • 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.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  • Β 

    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
    you are viewing a single comment's thread
    view the rest of the comments
    [–] MoogleMaestro@lemmy.zip 313 points 6 days ago (12 children)

    Electron is the only cross platform gui toolkit...

    If you ignore QT, GTK and everything else.

    I'm so glad that Microsoft makes an awesome cross platfor--- wait, no, but they contribute code to--- hmmm ... Hey, what does Microsoft do to make apps more portable again?

    [–] ZILtoid1991@lemmy.world 165 points 6 days ago* (last edited 6 days ago) (2 children)

    The real reasons often are:

    • They want be able to hire much cheaper webdevs instead of software devs.
    • Electron has a lot of built-in data collecting metrics, which they urgently need for creating a real-life KITT.
    • Easy live embedding of content. Sure you can add your own solution, in fact I created ETML as a solution for this problem for my engine, all without any support for nasty scripting languages or convoluted stylesheets (style-inheritance in CSS turned me off from webdev even more than JS did). At best, it can be used for things like embedding videos on Discord, because no one else thought some universal approach, let alone one that disallows proprietary players. At worst, it's being used for ads.

    Also a lot of Windows-only apps are Electron apps, only because the manufacturer wants to go "fuck you", even putting protections into the code just in case you wanted to run it on Linux.

    EDIT: Forgot the "live embeds" reason.

    [–] klangcola@reddthat.com 15 points 6 days ago

    Another reason is when developing the Web version first. Draw.io is a good example, where we get a bonus desktop(electron) version "for free" though the product was developed as a web app.

    [–] Flax_vert@feddit.uk 5 points 6 days ago

    Also works on mobile easier, just change some CSS

    [–] lime@feddit.nu 73 points 6 days ago

    one of the funniest (and sadly accurate) things i've heard said about linux backwards-compatibility is that its most stable API is Win32. you can run really old windows software on wine because they support stuff even windows doesn't anymore.

    of course this is because the expectation is that you can just recompile old software to work on new systems, which is not really a thing on window.s

    [–] Valmond@lemmy.world 36 points 6 days ago

    It's so portable! With maximal efforts we support both windows 7, windows 8.1 (but not 8.0), windiws 10 and soon Windows 11 !!!

    /s

    [–] nymnympseudonym@piefed.social 14 points 6 days ago* (last edited 6 days ago) (1 children)

    Flatpak
    AppImage
    Snap

    Hell, let's not forget
    Python Perl
    Java
    POSIX

    [–] teolan@lemmy.world 17 points 6 days ago (17 children)

    The first 3 are Linux only. It's irrelevant.

    load more comments (17 replies)
    [–] cows_are_underrated@feddit.org 9 points 6 days ago (1 children)

    You can even do inefficient UIs in Python using tkinter, which is part of the standard library in python.

    [–] addie@feddit.uk 20 points 6 days ago (2 children)

    Python tkinter interfaces might be inefficient, slow and require labyrinthine code to set-up and use, but they make up for it by being breathtakingly ugly.

    [–] cows_are_underrated@feddit.org 4 points 6 days ago (1 children)

    And now imagine yourself creating an UI in tkinter without an editor. Because that's what I did. It was absolutely horrible.

    [–] 30p87@feddit.org 1 points 5 days ago (1 children)

    Probably faster than me even deciding the bg color tho

    [–] cows_are_underrated@feddit.org 2 points 5 days ago (1 children)

    I didnt care how it looked, because I only wanted for it to be finished fast.

    [–] 30p87@feddit.org 1 points 5 days ago (1 children)

    For efficiency, just use the cli. The user doesn't want it? Then I don't want the user.

    [–] cows_are_underrated@feddit.org 1 points 5 days ago (1 children)

    I do not want the user to ever be expected to edit the database by hand. If they make a mistake by doing so, they can break the entire system. That's why I wrote a GUI which gets the job done.

    [–] 30p87@feddit.org 1 points 5 days ago (1 children)

    Well, every high-level, abstracted action done in a GUI can just be mapped onto subcommands of a CLI

    It could, but since the GUI was not very complicated it was not worth the effort caused by teaching the people who would have used the GUI how to do it in the CLI. They also have a lit of other work to do, so if I would have expected them to use the CLI, they would have probably not done the stuff I want from them at all.

    [–] Blisterexe@lemmy.zip 4 points 6 days ago

    Ugh, and they're just weird. I can handle ugly but ktinker popups go across virtual desktops and over other windows for some ungodly reason, and never seem to dismiss themselves properly

    [–] DacoTaco@lemmy.world 7 points 6 days ago* (last edited 6 days ago) (3 children)

    .net
    .net cli apps are cross platform and can be portable :p
    Gui in .net isnt fully cross platform ( maui is everything except linux ) but frameworks like avalonia ( .net ) and imgui fix all that :')

    [–] klangcola@reddthat.com 9 points 6 days ago* (last edited 6 days ago) (1 children)

    Thanks for reminding me why Maui doesn't support Linux. I saw Maui mentioned in an earlier comment and was baffled why KDE would make something not working that doesn't work in Linux. It's because Microsoft stole the Maui name from KDE: https://www.phoronix.com/news/Microsoft-KDE-MAUI

    [–] DacoTaco@lemmy.world 2 points 6 days ago

    LOL, didnt know maui naming was taken before. Hilarious

    [–] mittorn@masturbated.one 3 points 6 days ago (1 children)

    @DacoTaco @MoogleMaestro there is a port of mono winforms implementation to modern dotnet and it's really works:
    https://github.com/DanielVanNoord/System.Windows.Forms

    [–] DacoTaco@lemmy.world 1 points 6 days ago* (last edited 6 days ago) (1 children)

    Winforms of all things haha. Eeuw xD
    But thats flipping awesome and i love it! I know xamarin was wpf being cross platform with mono, but thats a dead horse thanks to microsoft haha

    [–] mittorn@masturbated.one 2 points 6 days ago (2 children)

    @DacoTaco Yes, it's Microsoft decided to kill classic win32 widgets and any XAML support in Mono, forcing new WinRT platform and not providing any GUI support in netcore. It's sad that nobody made some crossplatform WPF implementation for modern dotnet, Maui is not incompatible with existing source code, IIRC

    [–] hdsrob@lemmy.world 2 points 6 days ago* (last edited 6 days ago) (1 children)

    It’s sad that nobody made some crossplatform WPF implementation for modern dotnet

    That's basically Avalonia UI.

    I believe Uno Platform is similar, but less of a WPF variant, and closer to Xamarin or MAUI in the style of Xaml that they use.

    [–] mittorn@masturbated.one 1 points 6 days ago

    @hdsrob
    >That’s basically Avalonia UI.
    no, avalonia cannot help you run existing applications. Also. Avalonia is a crap, taking minutes to parse xml crap on poor hardware
    Yes, there are many implementaion of WPF-like UI, but no implementation of existing Windows UI.
    mono's winforms allows you run existing winforms apps without single line change or even without recompiling (just replace related System.Windows.* assembies)

    [–] DacoTaco@lemmy.world 1 points 5 days ago* (last edited 5 days ago)

    Avalon is actually xaml and cross platform. Personally id rather have a razor format of gui code, but xaml is a good second. Its basically what maui was suppose to be

    [–] uranibaba@lemmy.world 1 points 4 days ago (1 children)

    Does not MAUI compile to Linux, just that you need to compile on Windows?

    [–] DacoTaco@lemmy.world 1 points 4 days ago (1 children)

    Nope. The ui framework doesnt support linux at all. None of its cross platform claases and enums have linux. Its stupid because .net and aspcore just work on linux...

    [–] uranibaba@lemmy.world 1 points 4 days ago

    https://github.com/dotnet/maui

    Android, iOS, iPadOS, macOS, and Windows

    Everything but Linux, that's funny.

    I look at MAUI a year or so ago and IIRC, "official" Linux support was made by the community.

    [–] ICastFist@programming.dev 5 points 6 days ago

    Lazarus gang, this is your chance!

    load more comments (5 replies)