71
submitted 3 months ago by helenslunch@feddit.nl to c/linux@lemmy.ml

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?

top 50 comments
sorted by: hot top controversial new old
[-] bjoern_tantau@swg-empire.de 34 points 3 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.nl 3 points 3 months ago* (last edited 3 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?

[-] bjoern_tantau@swg-empire.de 20 points 3 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?

load more comments (13 replies)
[-] Aelis@beehaw.org 15 points 3 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 ;)

load more comments (12 replies)
[-] CraigeryTheKid@lemm.ee 5 points 3 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 4 points 3 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 26 points 3 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.

load more comments (1 replies)
[-] Pantherina@feddit.de 25 points 3 months ago

I have to add, please use Bottles Flatpak (or something similar) to run .exe files in an isolated environment.

Bottles has very secure presets and a fully modern stack with Pipewire and Portals. Running .exes there is probably safe.

But starting to run random Windows apps unisolated on your system will open a huge can of worms. Especially with quacked games ;D

load more comments (8 replies)
[-] d3Xt3r@lemmy.nz 22 points 3 months ago

Is it possible to create an OS that simply automatically runs .exe files through WINE/Proton/Bottles?

Zorin already does that out-of-the-box. See: https://help.zorin.com/docs/apps-games/windows-app-support/#run-apps-in-exe-and-msi-files

And if you want to take it to the next level, there's ReactOS, which is basically an opensource reverse-engineered Windows - but sadly it's development is slow and it's hardware support is extremely lacking. But it exists, and does qualify as an answer to your question. For all practical purposes though, Zorin is what you're looking for.

[-] BreakDecks@lemmy.ml 14 points 3 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.

[-] wuphysics87@lemmy.ml 5 points 3 months ago

First paragraph: Everything works great!

Second paragraph: Well...

[-] null@slrpnk.net 8 points 3 months ago* (last edited 3 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.

load more comments (1 replies)
[-] dendarion@feddit.nl 13 points 3 months ago
[-] Peffse@lemmy.world 10 points 3 months ago

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

[-] bionicjoey@lemmy.ca 8 points 3 months ago

IDK about copyright, but the amount of times they refer to themselves as "Windows Ubuntu" feels like it's probably trademark infringement. A reasonable person could easily read this website and mistake it for an official MS product.

[-] qprimed@lemmy.ml 6 points 3 months ago* (last edited 3 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.

load more comments (1 replies)
[-] bluGill@kbin.social 10 points 3 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.

[-] SilverCode@lemm.ee 16 points 3 months ago

You don't need to hack anything, you can use Binfmt_misc to tell the kernel how to load windows binaries

[-] callyral@pawb.social 5 points 3 months ago

I doubt a.out executable format is supported anymore, but that at least used to be an option

is that why when i compile c programs the default name is a.out?

[-] Plasma@lemmy.ml 4 points 3 months ago

Sorta, the file might not be in the a.out format anymore but the name has stuck around.

[-] Crack0n7uesday@lemmy.world 3 points 3 months ago* (last edited 3 months ago)

No shit, DOS box works well enough on Linux it was ported to Windows for older programs, just do the same with power shell.

load more comments (1 replies)
load more comments (3 replies)
[-] qpsLCV5@lemmy.ml 9 points 3 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.

[-] Sentau@discuss.tchncs.de 10 points 3 months ago

The bottles flatpak is the official release so people not on an arch based system can/should use that

load more comments (1 replies)
[-] qpsLCV5@lemmy.ml 8 points 3 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 3 points 3 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.

load more comments (2 replies)
[-] Quazatron@lemmy.world 8 points 3 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.

load more comments (2 replies)
[-] zkrzsz@hexbear.net 7 points 3 months ago
[-] kellenoffdagrid@lemmy.sdf.org 4 points 3 months ago

Can confirm Zorin has the best out-of-the-box process for getting Windows apps running. I have a family member that's really gotten attached to Zorin because of its familiar front-end, and even though they have some prior Linux experience from earlier years, they've never needed to use terminal knowledge for the basic stuff they've been using Zorin for.

[-] helenslunch@feddit.nl 4 points 3 months ago

This looks like it, thanks!

load more comments (1 replies)
[-] Turun@feddit.de 5 points 3 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)

[-] possiblylinux127@lemmy.zip 3 points 3 months ago

What are you trying to achieve?

load more comments (2 replies)
[-] DLSantini@lemmy.ml 3 points 3 months ago

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

[-] kugmo@sh.itjust.works 3 points 3 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

load more comments (4 replies)
load more comments
view more: next ›
this post was submitted on 22 Feb 2024
71 points (82.0% liked)

Linux

44870 readers
1217 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS