this post was submitted on 02 May 2024
1108 points (98.5% liked)

Technology

59450 readers
3805 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
 

Statcounter reports that Windows 11 continues to lose its market share for the second month in a row. Windows 10, meanwhile, is gaining more users and is now back above the 70% mark.

you are viewing a single comment's thread
view the rest of the comments
[–] LordWiggle -3 points 6 months ago* (last edited 6 months ago) (3 children)

~~I would highly advice against using Wine. It requires constant root access, just like virus scanners, making your system vulnerable.~~ EDIT: I was wrong :)

I want to make the switch as win10 moved to 11 without asking and 11 sucks donkey balls. It even has ads as notifications, soon it will have ads in the start menu (not that I use it, but wtf Microsoft!). The games are no issue anymore now a days, so that's fine with me. I just don't want to switch DAW. I just got a work flow using ableton for recording, editing and mastering my dawless setup. Kind of same story with photoshop, used to the work flow and don't want to switch. Other than that, I don't see a reason why not. So maybe it's going to be a multiboot. I'm definitely going back to win10 but support will stop next year or so, so I have to use Linux by than anyway.

[–] cygon 7 points 6 months ago (1 children)

I think you're mistaken there.

Wine is a vanilla Linux executable that runs as the user who launched it. The Windows program it runs thus also runs under that user. That's possible because Wine doesn't do anything system-wide (like intercepting calls or anything), it already gave the process its own version of i.e. LoadLibrary() (the Windows API function to load a DLL) and can happily remap any loaded DLL to Wine's reimplementation of said DLL as needed.

Here are, for example, the processes created when I run Paint Shop Pro on my system (the leftmost column indicates the user each process is running as): Processes running after launching a Windows executable via Wine

Also, some advice from WineHQ: WineHQ warning never to run Wine as root

[–] LordWiggle 1 points 6 months ago (1 children)

I guess I'm wrong than :)

I'm just saying what my experience was with Wine a while ago and what all my Linux friends tell me. But I guess things changed! Awesome!

[–] [email protected] 5 points 6 months ago (1 children)

Did you know you can edit your posts? Could be helpful for other readers since you were incorrectly posting in several messages that wine needs root access.

[–] LordWiggle 3 points 6 months ago

Check, will do! Good point :)

[–] patatahooligan 7 points 6 months ago (1 children)

I would highly advice against using Wine. It requires constant root access, just like virus scanners, making your system vulnerable.

This can't be right. Was it maybe a particular workflow you used that required root access? I know I've used wine as part of Steam's Proton as well as via Lutris and neither app has ever requested privilege escalation. I've also run wine manually from the terminal also without being root.

[–] LordWiggle 1 points 6 months ago

Maybe it changed recently, but this is what I know about wine. Many Linux friends of mine all advice against it.

[–] Drummyralf 3 points 6 months ago (1 children)

I would say: don't rely on Wine if you're dependent on the programs it runs somehow. If you don't want to spend hours troubleshooting programs, then accept your losses.

After days of messing about getting music VSTs to work, I decided to stop troubleshooting any error I have within Wine. If a program works with Wine straight away: lucky me! If something doesn't work: I count my loss and accept I won't be able to use that program on Linux for now.

And obviously, don't install and run andom programs that you wouldn't install on Windows either. But that's just common sense.