The diversity of Linux distributions is one of its strengths, but it can also be challenging for app and game development. Where do we need more standards? For example, package management, graphics APIs, or other aspects of the ecosystem? Would such increased standards encourage broader adoption of the Linux ecosystem by developers?

  • MicKet
    link
    fedilink
    -15 days ago

    @original_reader
    Register app for Internet access

    In my Opinion there should be a way that Applications could register their Internet access.

    - Every Application has to register their Domains or IPs it wish to use
    - Apps like Nextcloud-Client could triger a Sytem Dialog to enter new Addresses on first connect
    - Apps like a Browser get their own “Browser” Profile
    - Apps that do not register their Connection get an auto-attached Browserprofile on the first connect to Internet.

    • EinarOP
      link
      fedilink
      15 days ago

      What would you like to achieve? Would OpenSnitch be of assistance?

  • @dosse91@lemmy.trippy.pizza
    link
    fedilink
    61
    edit-2
    16 days ago

    Generally speaking, Linux needs better binary compatibility.

    Currently, if you compile something, it’s usually dynamically linked against dozens of libraries that are present on your system, but if you give the executable to someone else with a different distro, they may not have those libraries or their version may be too old or incompatible.

    Statically linking programs is often impossible and generally discouraged, making software distribution a nightmare. Flatpak and similar systems made things easier, but it’s such a crap solution and basically involves having an entire separate OS installed in parallel, with its own problems like having a version of Mesa that’s too old for a new GPU and stuff like that. Applications must be able to be packaged with everything they need with them, there is no reason for dynamic linking to be so important in Linux these days.

    I’m not in favor of proprietary software, but better binary compatibility is a necessity for Linux to succeed, and I’m saying this as someone who’s been using Linux for over a decade and who refuses to install any proprietary software. Sometimes I find myself using apps and games in Wine even when a native version is available just to avoid the hassle of having to find and probably compile libobsoletecrap-5.so

    • @pr06lefs@lemmy.ml
      link
      fedilink
      2316 days ago

      nix can deal with this kind of problem. Does take disk space if you’re going to have radically different deps for different apps. But you can 100% install firefox from 4 years ago and new firefox on the same system and they each have the deps they need.

    • @MyNameIsRichard@lemmy.ml
      link
      fedilink
      1116 days ago

      You’ll never get perfect binary compatibility because different distros use different versions of libraries. Consider Debian and Arch which are at the opposite ends of the scale.

      • 2xsaiko
        link
        fedilink
        2516 days ago

        And yet, ancient Windows binaries will still (mostly) run and macOS allows you to compile for older system version compatibility level to some extent (something glibc alone desperately needs!). This is definitely a solvable problem.

        Linus keeps saying “you never break userspace” wrt the kernel, but userspace breaks userspace all the time and all people say is that there’s no other way.

        • @MyNameIsRichard@lemmy.ml
          link
          fedilink
          4
          edit-2
          16 days ago

          The difference is that most of your software is built for your distribution, the only exception being some proprietary shit that says it supports Linux, but in reality only supports Ubuntu. That’s my pet peeve just so that you know!

          • 2xsaiko
            link
            fedilink
            216 days ago

            Distributions are not the problem. Most just package upstream libraries as-is (plus/minus some security patches). Hence why programs built for another distro will a lot of the time just run as is on a contemporary distro given the necessary dependencies are installed, perhaps with some patching of the library paths (plenty of packages in nixpkgs which just use precompiled deb packages as a source, as an extreme example because nixpkgs has a very different file layout).

            Try a binary built for an old enough Ubuntu version on a new Ubuntu version however…

    • Captain Beyond
      link
      fedilink
      11
      edit-2
      15 days ago

      Disagree - making it harder to ship proprietary blob crap “for Linux” is a feature, not a bug.

    • @catloaf@lemm.ee
      link
      fedilink
      English
      816 days ago

      I don’t think static linking is that difficult. But for sure it’s discouraged, because I can’t easily replace a statically-linked library, in case of vulnerabilities, for example.

      You can always bundle the dynamic libs in your package and put the whole thing under /opt, if you don’t play well with others.

    • CarrotsHaveEars
      link
      fedilink
      416 days ago

      What you described as the weakness, is actually what is strong of an open source system. If you compile a binary for a certain system, say Debian 10, and distribute the binary to someone who is also running a Debian 10 system, it is going to work flawlessly, and without overhead because the target system could get the dependency on their own.

      The lack of ability to run a binary which is for a different system, say Alpine, is as bad as those situations when you say you can’t run a Windows 10 binary on Windows 98. Alpine to Debian, is on the same level of that 10 to 98, they are practically different systems, only marked behind the same flag.

      • Ephera
        link
        fedilink
        English
        216 days ago

        The thing is, everyone would agree that it’s a strength, if the Debian-specific format was provided in addition to a format which runs on all Linux distros. When I’m not on Debian, I just don’t get anything out of that…

    • @iii@mander.xyz
      link
      fedilink
      English
      116 days ago

      I think webassembly will come out on top as preferred runtime because of this, and the sandboxing.

  • One that Linux should’ve had 30 years ago is a standard, fully-featured dynamic library system. Its shared libraries are more akin to static libraries, just linked at runtime by ld.so instead of ld. That means that executables are tied to particular versions of shared libraries, and all of them must be present for the executable to load, leading to the dependecy hell that package managers were developed, in part, to address. The dynamically-loaded libraries that exist are generally non-standard plug-in systems.

    A proper dynamic library system (like in Darwin) would allow libraries to declare what API level they’re backwards-compatible with, so new versions don’t necessarily break old executables. (It would ensure ABI compatibility, of course.) It would also allow processes to start running even if libraries declared by the program as optional weren’t present, allowing programs to drop certain features gracefully, so we wouldn’t need different executable versions of the same programs with different library support compiled in. If it were standard, compilers could more easily provide integrated language support for the system, too.

    Dependency hell was one of the main obstacles to packaging Linux applications for years, until Flatpak, Snap, etc. came along to brute-force away the issue by just piling everything the application needs into a giant blob.

    • @steeznson@lemmy.world
      link
      fedilink
      3
      edit-2
      14 days ago

      I find the Darwin approach to dynamic linking too restrictive. Sometimes there needs to be a new release which is not backwards compatible or you end up with Windows weirdness. It is also too restrictive on volunteer developers giving their time to open source.

      At the same time, containerization where we throw every library - and the kitchen sink - at an executable to get it to run does not seem like progress to me. It’s like the meme where the dude is standing on a huge horizontal pile of ladders to look over a small wall.

      At the moment you can choose to use a distro which follows a particular approach to this problem; one which enthuses its developers, giving some guarantee of long term support. This free market of distros that we have at the moment is ideal in my opinion.

    • Lovable Sidekick
      link
      fedilink
      English
      315 days ago

      The term “dependency hell” reminds me of “DLL hell” Windows devs used to refer to. Something must have changed around 2000 because I remember an article announcing, “No more DLL hell.” but I don’t remember what the change was.

  • @kibiz0r@midwest.social
    link
    fedilink
    English
    4316 days ago

    ARM support. Every SoC is a new horror.

    Armbian does great work, but if you want another distro you’re gonna have to go on a lil adventure.

  • @HiddenLayer555@lemmy.ml
    link
    fedilink
    English
    38
    edit-2
    15 days ago

    Where app data is stored.

    ~/.local

    ~/.config

    ~/.var

    ~/.appname

    Sometimes more than one place for the same program

    Pick one and stop cluttering my home directory

  • @Mio@feddit.nu
    link
    fedilink
    2616 days ago

    Configuration gui standard. Usually there is a config file that I am suppose to edit as root and usually done in the terminal.

    There should be a general gui tool that read those files and obey another file with the rules. Lets say it is if you enable this feature then you can’t have this on at the same time. Or the number has to be between 1 and 5. Not more or less on the number. Basic validation. And run the program with --validation to let itself decide if it looks good or not.

      • EinarOP
        link
        fedilink
        1115 days ago

        I agree. OpenSuse should set the standards in this.

        Tbf, they really need a designer to upgrade this visually a bit. It exudes its strong “Sys Admin only” vibes a bit much. In my opinion. 🙂

  • @ikidd@lemmy.world
    link
    fedilink
    English
    25
    edit-2
    15 days ago

    Domain authentication and group policy analogs. Honestly, I think it’s the major reason it isn’t used as a workstation OS when it’s inherently more suited for it than Windows in most office/gov environments. But if IT can’t centrally managed it like you can with Windows, it’s not going to gain traction.

    Linux in server farms is a different beast to IT. They don’t have to deal with users on that side, just admins.

    • Lka1988
      link
      fedilink
      English
      615 days ago

      An immutable distro would be ideal for this kind of thing. ChromeOS (an immutable distro example) can be centrally managed, but the caveat with ChromeOS in particular is that it’s management can only go through Google via their enterprise Google Workspace suite.

      But as a concept, this shows that it’s doable.

      • silly goose meekah
        link
        fedilink
        415 days ago

        I don’t think anyone was saying it’s impossible, just that it needs standardization. I imagine windows is more appealing to companies when it is easier to find admins than if they were to use some specific linux system where only a few people are skilled to manage it.

    • @fxdave@lemmy.ml
      link
      fedilink
      4
      edit-2
      15 days ago

      I’ve never understood putting arbitrary limits on a company laptop. I had always been seeking for ways to hijack them. Once I ended up using a VM, without limit…

      • Lka1988
        link
        fedilink
        English
        6
        edit-2
        15 days ago

        TL;DR - Because people are stupid.

        One of my coworkers (older guy) tends to click on things without thinking. He’s been through multiple cyber security training courses, and has even been written up for opening multiple obvious phishing emails.

        People like that are why company-owned laptops are locked down with group policy and other security measures.

    • Pup Biru
      link
      fedilink
      English
      315 days ago

      i’ve never understood why there’s not a good option for using one of the plethora of server management tools with prebuilt helpers for workstations to mimic group policy

      like the tools we have on linux to handle this are far, far more powerful

    • Lv_InSaNe_vL
      link
      fedilink
      1
      edit-2
      14 days ago

      Ubuntu Server supports Windows Active Directory. I haven’t used it for anything but authentication (and authentication works flawlessly) and some basic directory/share permissions but theoretically it should support group policy too.

      It’d be cool if there was a mainstream FOSS alternative though (there might be, I’ve done literally 0 research), but this works okay-ish in the meantime.

      But for management of the actual production servers at work I use a combination of ManageEngine (super great and reasonably priced) and Microsoft’s Entra (doesn’t work well, don’t do it)

  • asudox
    link
    fedilink
    2216 days ago

    Flatpak with more improvements to size and sandboxing could be accepted as the standard packaging format in a few years. I think sandboxing is a very important factor as Linux distros become more popular.

    • IHave69XiBucks
      link
      fedilink
      316 days ago

      Flatpak is very useful for a lot of things, but i really dont think it should be the default. It still has some weird issues. For example if you run a seperate home and root partition flatpak by default will install things into your root partition which quickly fills up. You have to go in and do a bunch of work to get it to use the home partition.

      Or for example issues with themeing and cursors. Its a pretty common issue for flatpaks to not properly detect your cursor theme and just use the default until you mess around with perms and settings to fix it.

      They also generally get updates slower. I guess maybe if its adopted more that would change but flatpak is already pretty widely used and thats still an issue. Especially for smaller programs not used by as many people.

      Keeping it as just something that is good to use for the ones who like a GUI experience and want something simple and easy is great. But if we were to start doing like what ubuntu does with snaps where theyll just replace things you install with the snap version then im not in favor of that at all.

      • @fxdave@lemmy.ml
        link
        fedilink
        2
        edit-2
        15 days ago

        I agree that flatpak is not there yet. The API is limited, and it is also hard to package an app. But I really want to see it succeed

    • @Overspark@feddit.nl
      link
      fedilink
      5216 days ago

      That already happened though. Tens of thousands of games on Steam can be played by hitting the install and then the play button. Only a few “competitive multiplayer” holdouts with rootkits and an irrational hatred of Linux don’t work.

      • @Fecundpossum@lemmy.world
        link
        fedilink
        English
        2116 days ago

        Yep. Two solid years of steady gaming on various Linux distributions. No issues aside from no more pubg, no more valorant. Oh wait, that’s not an issue at all. Fuck their rootkits.

        • @LouSlash@sh.itjust.works
          link
          fedilink
          5
          edit-2
          16 days ago

          Two solid years of steady gaming on various Linux distributions.

          And in some cases, even better experience than on Windows (f.e. older games compatibility or higher FPS alongside smoother gameplay)

          Tbh, about a year ago i checked the price difference between various laptops with Windows preinstalled and without any OS. The difference wasn’t actually a flat amount of money, it was like +10% (price of the laptop 500$ — ~ +50$ for Windows | price of the other laptop 1000$ — ~ 100$ for Windows).

          So because of the actual state of gaming on Linux (and overall experience) i wouldn’t pay that 10% to play games with rootkits built-in, but rather spend it on other things

      • @dan@upvote.au
        link
        fedilink
        616 days ago

        with rootkits

        These are eventually going to be blocked on Windows. Microsoft are making changes to what’s allowed to run in the kernel after the Crowdstrike issue last year.

    • @verdigris@lemmy.ml
      link
      fedilink
      1116 days ago

      Have you tried recently? We’ve been pretty much at parity for years now. Almost every game that doesn’t run is because the devs are choosing to make it that way.

    • @Xanza@lemm.ee
      link
      fedilink
      English
      016 days ago

      This has always been the key. Amazing to me that not many seem to take it seriously.

  • @smiletolerantly@awful.systems
    link
    fedilink
    1916 days ago

    At this point, package management is the main differentiating factor between distro (families). Personally, I’m vehemently opposed to erasing those differences.

    The “just use flatpak!” crowd is kind of correct when we’re talking solely about Linux newcomers, but if you are at all comfortable with light troubleshooting if/when something breaks, each package manager has something unique und useful to offer. Pacman and the AUR a a good example, but personally, you can wring nixpkgs Fron my cold dead hands.

    And so you will never get people to agree on one “standard” way of packaging, because doing your own thing is kind of the spirit of open source software.

    But even more importantly, this should not matter to developers. It’s not really their job to package the software, for reasons including that it’s just not reasonable to expect them to cater to all package managers. Let distro maintainers take care of that.

  • @enumerator4829@sh.itjust.works
    link
    fedilink
    English
    1816 days ago

    Stability and standardisation within the kernel for kernel modules. There are plenty of commercial products that use proprietary kernel modules that basically only work on a very specific kernel version, preventing upgrades.

    Or they could just open source and inline their garbage kernel modules…

    • @ethancedwards8@programming.dev
      link
      fedilink
      English
      516 days ago

      I’m struggling with this now. There’s an out of tree module I want upstreamed, but the author (understandably) doesn’t want to put in the work to upstream, so I did. The upstream folks are reluctant to take it because I didn’t actually write it.

      I really don’t know what to do.

    • @fxdave@lemmy.ml
      link
      fedilink
      115 days ago

      I don’t use any of these, but I’m curious. Could you please write some examples?

      • @enumerator4829@sh.itjust.works
        link
        fedilink
        English
        115 days ago

        It mostly affects people working with ”fun” enterprise hardware or special purpose things.

        But to take one example, proprietary drivers for high performance network cards, most likely from Nvidia.

    • @Ferk@lemmy.ml
      link
      fedilink
      16
      edit-2
      15 days ago

      interoperability == API standardization == API homogeneity

      standardization != monopolization

    • @steeznson@lemmy.world
      link
      fedilink
      214 days ago

      There is a separate kernel which is being written entirely in rust from scratch that might interest you. I’m not sure if this is the main one https://github.com/asterinas/asterinas but it is the first one that came up when I searched.

      By the tone of your post you might just want to watch the world burn in which case I’d raise an issue in that repo saying “Rewrite in C++ for compatibility with wider variety of CPU archs” ;)

      • @muusemuuse@lemm.ee
        link
        fedilink
        English
        4
        edit-2
        14 days ago

        I’m of the opinion that a full rewrite in rust will eventually happen, but they need to be cautious and not risk alienating developers ala windows mobile so right now it’s still done in pieces. I’m also aware that many of the devs who sharpened their teeth on the kernel C code like it as it is, resist all change, and this causes lots of arguments.

        Looking at that link, I’m not liking the MPL.

  • irotsoma
    link
    fedilink
    1216 days ago

    Not offering a solution here exactly, but as a software engineer and architect, this is not a Linux only problem. This problem exists across all software. There are very few applications that are fully self contained these days because it’s too complex to build everything from scratch every time. And a lot of software depends on the way that some poorly documented feature worked at the time that was actually a bug and was eventually fixed and then breaks the applications that depended on it, etc. Also, any time improvements are made in a library application it has potential to break your application, and most developers don’t get time to test the every newer version.

    The real solution would be better CI/CD build systems that automatically test the applications with newer versions of libraries and report dependencies better. But so many applications are short on automated unit and integration tests because it’s tedious and so many companies and younger developers consider it a waste of time/money. So it would only work in well maintained and managed open source types of applications really. But who has time for all that?

    Anyway, it’s something I’ve been thinking about a lot at my current job as an architect for a major corporation. I’ve had to do a lot of side work to get things even part of the way there. And I don’t have to deal with multiple OSes and architectures. But I think it’s an underserved area of software development and distribution that is just not “fun” enough to get much attention. I’d love to see it at all levels of software.

  • @gandalf_der_12te@discuss.tchncs.de
    link
    fedilink
    10
    edit-2
    14 days ago

    I’m not sure whether this should be a “standard”, but we need a Linux Distribution where the user never has to touch the command line. Such a distro would be beneficial and useful to new users, who don’t want to learn about command line commands.

    And also we need a good app store where users can download and install software in a reasonably safe and easy way.

    • RawrGuthlaf
      link
      fedilink
      English
      1414 days ago

      I really don’t understand this. I put a fairly popular Linux distro on my son’s computer and never needed to touch the command line. I update it by command line only because I think it’s easier.

      Sure, you may run into driver scenarios or things like that from time to time, but using supported hardware would never present that issue. And Windows has just as many random “gotchas”.

    • Jack Waterhouse
      link
      fedilink
      814 days ago

      I think there are some that are getting pretty close to this. Like SteamOS (although not a traditional DE) and Mint.

      • Mint is pretty good, but I found the update center GUI app to always fail to update things like Firefox with some mirror error (regardless of whether you told it to use it or not). It happened for my old desktop (now my dad’s main computer), my LG laptop or used HP elitedesk G4. Using “sudo apt update” + “sudo apt upgrade” + Y (to confirm) on the command line was 10x easier and just worked. I do feel better/safe now that they use Linux for internet browsing instead of windows too.

      • EinarOP
        link
        fedilink
        114 days ago

        Ubuntu as well. I wish I could say OpenSuse…

    • AugustWest
      link
      fedilink
      English
      7
      edit-2
      14 days ago

      Why do people keep saying this? If you don’t want to use the command line then don’t.

      But there is no good reason to say people shouldn’t. It’s always the best way to get across what needs to be done and have the person execute it.

      The fedora laptop I have been using for the past year has never needed the command line.

      On my desktop I use arch. I use the command line because I know it and it makes sense.

      Its sad people see it as a negative when it is really useful. But as of today you can get by without it.

        • AugustWest
          link
          fedilink
          English
          3
          edit-2
          14 days ago

          lose sight of their humanity

          Ok this is now a stupid conversation. Really? Humanity?

          Look, you can either follow a flowchart of a dozen different things to click on to get information about your thunderbolt device or type boltctl -list

          Do you want me to create screen shots of every step of the way to use a gui or just type 12 characters? That is why it is useful. It is easy to explain, easy to ask someone to do it. Then they can copy and paste a response, instead of yet another screenshot.

          Next thing you know you will be telling me it is against humanity to “right click”. Or maybe we all should just get a Mac Book Wheel

          Look, I am only advocating that it is a very useful tool. There is nothing “bad” about it, or even hard. What is the negative?

          But I also said, I have been using a Fedora laptop for over a year and guess what? I never needed the command line. Not once.

            • AugustWest
              link
              fedilink
              English
              3
              edit-2
              14 days ago

              You blocked me over a difference of opinion?

              Wow.

              All I am trying to say it that it is a tool in the toolbox. Telling people Linux needs it is not true, telling people it’s bad is not true.

              Quit trying to make it a negative. I would encourage anyone to explore how to use this tool. And when trying to communicate ideas on the internet it is a very useful one.

              I have never blocked anyone, I find that so strange. It’s like saying because of our difference on this issue, we could never have common ground on any other.

              And you ask me to remember my humanity?

    • elischeva
      link
      fedilink
      18 days ago

      @gandalf_der_12te @original_reader

      Linux Mint and some Kind of Ubuntu-Flavour are the Goto. Preferably the LTS Vefsions. For Ubuntu its 24.04, for Mint it is 22. So you ever need the commandline only for one short line and only in 2029.

      So for the next few years you don’t need to touch the commandline.