I really enjoy Linux but I find myself having to keep Windows partitions around for software that specifically requires Windows.

Proton makes everything easier by automatically running game files through a translation layer, and it “just works” quite well most of the time.

Also VanillaOS can apparently auto-spin a container when you try to open a .deb or AUR package (this is my rudimentary understanding).

Setting up WINE/Bottles, etc. is above my pay grade.

Is it not possible to create an OS that just does the same thing as Steam but for the entire OS?

  • Björn Tantau@swg-empire.de
    link
    fedilink
    arrow-up
    34
    arrow-down
    2
    ·
    7 months ago

    You should be able to configure any desktop environment to open exe files with Wine or a frontend of your choice. By default Wine installs everything to ~/.wine and adds an entry to your applications.

    • helenslunch@feddit.nlOP
      link
      fedilink
      arrow-up
      22
      arrow-down
      16
      ·
      edit-2
      7 months ago

      Linux users have a habit of saying “Sure! you can just…” without ever elaborating on how ridiculously complicated it is or the level of knowledge required. Is it so hard to configure the OS to just do it out of the box? And if not, why has no one done this?

      • Björn Tantau@swg-empire.de
        link
        fedilink
        arrow-up
        21
        arrow-down
        3
        ·
        7 months ago

        Well, my experience has always been that when I double click an exe that I get either asked which program should be used to open it or Wine gets used automatically. Which is more or less the same thing Windows does with different file types.

        So, are you just here to bitch and moan or do you want to try it out?

        • helenslunch@feddit.nlOP
          link
          fedilink
          arrow-up
          3
          arrow-down
          43
          ·
          7 months ago

          Oh, this is the part where I get bitched out by the Linux user for having the gall to ask for helpful advice. So predictable.

          • hardaysknight@lemmy.world
            link
            fedilink
            English
            arrow-up
            5
            arrow-down
            1
            ·
            7 months ago

            You didn’t get bitched out. But you should have based on your attitude. You’re asking strangers for help dude. Nobody owes you anything.

            • helenslunch@feddit.nlOP
              link
              fedilink
              arrow-up
              1
              arrow-down
              5
              ·
              edit-2
              7 months ago

              You didn’t get bitched out.

              I was accused of “bitching and moaning” because I was presented with a solution that didn’t answer the actual question I asked and I declined.

              What would you call that?

              You’re asking strangers for help dude.

              No I’m not. I asked a very specific question and people keep trying to throw long-winded time-consuming solutions at me instead of actually answering it.

              Several other people did actually answer the question though.

              Nobody owes you anything.

              That’s great because I’m not asking for anything.

              I did, however, learn a valuable lesson though: Don’t ask questions in a Linux community, because the answer is always the same: “just figure it out, in the most complex manner possible, or go fuck yourself”.

          • lal309@lemmy.world
            link
            fedilink
            arrow-up
            3
            arrow-down
            1
            ·
            7 months ago

            Honestly I had trouble understanding the inner workings of wine and how I may need to use to install windows software so I just watched a few videos on YouTube, downloaded a sample exe (I think I used notepad++) and try it out. 10 minutes later I was running software through wine no problem. Wrote myself a quick documentation guide for my future self and gtg.

      • Aelis@beehaw.org
        link
        fedilink
        arrow-up
        15
        ·
        7 months ago
        1. As others pointed out already, most distros will ask you which program you want to use on a file the first time you double click on them, and you can tell it to always use the same program for all other similar files (just like windows btw)…the only difference with windows (regarding exe files) is that you need to have wine installed first (lots of distros have it preinstalled though). You can still do it later by right clicking (again, just the same as windows). I fail to see what’s so complex about that.

        2. You cant have the same expectation with Wine regarding any windows software vs Proton for games, games and softwares can be awfully different, that’s why Wine can be a pain to use, and why it sometimes needs more fiddling for some soft than Proton does with games. Also some soft wont work on Wine period. Some softs will work just as simply as games on proton, some absolutely wont.

        3. I am sure you are aware that windows softs are made for windows, so it is a bit odd to expect a different OS to handle exe files perfectly and make it an out of the box experience, it was never made for that. I have yet to see anyone complain about not being able to run any Apple exclusive app on windows, sure Linux has Wine and Proton, and that’s cool… but some people don’t use it. So yeah it won’t be smooth and yeah it can get complicated, yet it’s still better than nothing don’t you think ?

        I think all this should answer your post and your comment. Sorry if it sounds like I am scolding you, but to be plain your post is asking why an apple can’t be an orange.

        If you need any help with something and don’t want unconstructive or vague answers it’s better to be specific about your issues and to consider that one problem with an exe file (or anything really) won’t be solved the same way as another. And if you don’t get something just say it instead of accusing anyone offering advice of being cryptic or unhelpful snobs, you won’t get far if you annoy everyone…just saying ;)

        • helenslunch@feddit.nlOP
          link
          fedilink
          arrow-up
          3
          arrow-down
          6
          ·
          edit-2
          7 months ago

          Wine doesn’t work. I don’t know why.

          I am sure you are aware that windows softs are made for windows

          I don’t even know what “softs” are.

          it is a bit odd to expect a different OS to handle exe files perfectly

          I don’t. And I didn’t imply that I did. I’m just asking a question.

          • Aelis@beehaw.org
            link
            fedilink
            arrow-up
            9
            arrow-down
            1
            ·
            edit-2
            7 months ago

            Regarding Wine not working, if you feel overwhelmed with that and really need help, just make another post or edit this one and specify :

            • what Linux distro you are using
            • what windows software you’d like to run on Linux
            • what it is you are trying and failing to do exactly (as precisely as you can, you might get even better answers that way)

            Otherwise you will get chaotic and vague answers that might not even apply to you. But frankly, some softwares you might still need windows for them, or you could find an alternative (if you can, if it exists alternativeto.net is your friend in that regard). It really depends on what you are using.

            Also I get it can be bothersome to deal with and frustrating, but mostly this kind of stuff you configure it once and then it’s done. So it might still be worth it.

            • helenslunch@feddit.nlOP
              link
              fedilink
              arrow-up
              2
              arrow-down
              9
              ·
              7 months ago

              Regarding Wine not working, if you feel overwhelmed with that and really need help, just make another post or edit this one and specify :

              I don’t work in product support at WINE. If it doesn’t work, I’m just not going to use it. I assume there is some sort of OS config that needs to happen but even looking at the support material it’s nothing but a bunch of jargon I don’t understand and terminal commands that don’t work.

      • CraigeryTheKid@lemm.ee
        link
        fedilink
        English
        arrow-up
        6
        arrow-down
        1
        ·
        7 months ago

        I very much agree with that first sentence. I think they forget how much they know at a baseline, and can’t skip that when talking to a copy-paste idiot like me.

      • style99@kbin.social
        link
        fedilink
        arrow-up
        4
        ·
        7 months ago

        Linux in general doesn’t have any defined purpose, so the whole Archlinux mentality only really exists in that one distro. It’s a little unfair to confuse (for example) Mint and Tiny Core.

  • bizdelnick@lemmy.ml
    link
    fedilink
    arrow-up
    26
    ·
    7 months ago

    In Debian and, probably, Ubuntu you may install the wine-binfmt package to get all *.exes running with wine automatically. However I don’t recommend doing so because it is very easy to run some windows trojan with this.

  • BreakDecks@lemmy.ml
    link
    fedilink
    English
    arrow-up
    12
    ·
    7 months ago

    Setting up WINE, in my experience, is as easy as just installing it and running EXEs and MSIs with it. I just set wine as the default handler for those file types, and things mostly just work.

    There is some tweaking that is sometimes necessary, but it’s easier to tackle that on a case-by-case basis. I hardly have to do anything for the handful of Windows-based tools I keep to work, and there’s usually someone online who has already figured out a workaround so I don’t have to.

      • null@slrpnk.net
        link
        fedilink
        arrow-up
        5
        ·
        edit-2
        7 months ago

        They didn’t say everything works great…

        They said setting up WINE is as simple as installing it, and then using it to open exe files, which is true. And that things mostly just work.

        Not really a gotcha moment.

      • Mnglw@beehaw.org
        link
        fedilink
        arrow-up
        1
        ·
        7 months ago

        [narrator voice: it wasn’t “just as easy as” nor did “everything work great”]

    • Peffse@lemmy.world
      link
      fedilink
      arrow-up
      10
      ·
      7 months ago

      I feel like there is a scary amount of copyright infringement going on to make it look THAT much like Windows 11.

      • qprimed@lemmy.ml
        link
        fedilink
        English
        arrow-up
        6
        ·
        edit-2
        7 months ago

        damn! that is quite the impressive windows veneer going on there. did not know about this distro (and I find the win 10/11 UI to be a whole lotta “meh”, so not personally interested), but I am sure there are others who would be. interesting link to throw, hand grenade style, into a distro flame war.

  • bluGill@kbin.social
    link
    fedilink
    arrow-up
    11
    arrow-down
    1
    ·
    7 months ago

    Sure, when linux loads are process it follows a standard procedure to see how to run the file. If the file has ELF markers it runs the process via the ELF loader. If the file has #! as the first then it uses a different process to run that script. (I doubt a.out executable format is supported anymore, but that at least used to be an option). There is no reason you cannot hack this process to detect windows executable and then use wine to load/run the application. I’m not sure why nobody has done this, but the basic things have been supported in linux for decades.

  • qpsLCV5@lemmy.ml
    link
    fedilink
    arrow-up
    10
    arrow-down
    1
    ·
    7 months ago

    honestly, wine has seemed unreasonably complex to me in the past and i haven’t tried since. but Bottles offers a nice easy to use GUI, i do recommend giving it a shot. at least on arch linux it’s super easy to install via the AUR.

    the only issue is some apps need additional dependencies which can take some searching to figure out what exactly is needed. the arch wiki lists a bunch of them though, and often the error messages bottles shows will point you the right way.

    i’ve gotten almost every .exe to work with it, most immediately, some after a short bit of tinkering.

      • Ullebe1@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        7 months ago

        Even people on Arch should use it. It ensures better isolation of processes and is the only supported installation method if you ever have issues.

    • qpsLCV5@lemmy.ml
      link
      fedilink
      arrow-up
      8
      ·
      7 months ago

      that said, i did end up finding open source alternatives for all the software i use often, and don’t use bottles much.

      • Flaky@iusearchlinux.fyi
        link
        fedilink
        English
        arrow-up
        3
        ·
        7 months ago

        I’ve yet to find something open-source that scratches what MusicBee can do, and it’s got major performance, usability and visual problems when running through WINE that have been reported.

        It’s why I keep a Windows VM around.

  • Quazatron@lemmy.world
    link
    fedilink
    arrow-up
    9
    arrow-down
    1
    ·
    7 months ago

    Can you run non native binaries on Linux? Sure, Linux is the Swiss army chainsaw of the OS world. There are multiple ways to achieve that.

    Is it complicated? A bit. You’re interfacing a binary created for a completely different and alien environment. You’d get the same answer if you asked “why can’t l just run Mac apps in Windows like any other .exe?”

    The best way to run .exe files is Windows. You have wonderful tools to help you run Windows apps on Linux, but the experience will probably never be as seamless as you want.

    • yianiris@kafeneio.social
      link
      fedilink
      arrow-up
      3
      arrow-down
      6
      ·
      7 months ago

      You can run 3 vm instances, 1 win10, 1 android, 1 ios, and within them you can run native whatevers.

      Why would you want to run crap in your nice clean **nix environment is beyond me. And nothing will ever improve with this kind of mentality.

      Again, free software stands for freedom, not cheap or of 0 exchange value.

      @Quazatron @helenslunch

      • Quazatron@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        7 months ago

        You don’t have to sell Linux to me, I’ve been onboard since 95. :-)

        All I’m saying is: if I needed to run Windows apps with zero hassle, I’d use Windows. I don’t, so I won’t.

  • Turun@feddit.de
    link
    fedilink
    arrow-up
    4
    ·
    7 months ago

    I have the opposite problem, llavafiles (a large language model, packages as a single files) can run on both Linux and Windows. They are written to be compatible with both.

    But when I ./file to run it, eine is started automatically!

    (The llava file GitHub has a workaround, but still by default it chooses wine for some reason)

  • DLSantini@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    7 months ago

    Along with the other suggestions here, Garuda also already does this out-of-the-box.

  • mvirts@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    7 months ago

    Give setting it up a try, it doesnt seem hard once you do it.

    Also, linux binfmt is powerful magic. My x86-64 machine can run arm binaries like native with qemu, wine integration is also possible but in my setup i let the gui file manager launch exe files with wine.

  • kugmo@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    2
    ·
    7 months ago

    Install dxvk, vkd3d-proton, and the vcredist files and you can run a good chunk of games in your default prefix by clicking them in your file manager

  • ZeroHora@lemmy.ml
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    edit-2
    7 months ago

    In my understanding you can run .exe with double click if you install wine and choose it to open any .exe as default, if you have DXVK with wine like fedora do and if the program have all the dependencies in the .wine folder things probably will work.

    I think that the magic that happens with Proton is just a hell lot of people debugging and pushing fixes to Proton/Proton-GE and so on for multiples games.

    Hijaking the post to ask another thing related to Proton, do Proton uses the binaries of the bin folder most games have? Like the multiples .NET runtimes? Or the windows still need to have it so the game can detect it as installed?