this post was submitted on 31 Jan 2024
150 points (98.1% liked)

Linux

48310 readers
645 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
top 17 comments
sorted by: hot top controversial new old
[–] melroy@kbin.melroy.org 23 points 9 months ago (1 children)

/me stil trying to get MS Office working under Wine.. But this Wine under Wayland is great news! I'm the developer of WineGUI so I'm in!

[–] leopold@lemmy.kde.social 9 points 9 months ago (1 children)

I'm assuming you probably already know since you're making WineGUI, but older versions of Office (particularly Office 2010 32bit) are pretty simple to get working. Just need to install some dependencies with Winetricks.

[–] Gebruikersnaam@lemmy.ml 6 points 9 months ago (1 children)

I just realized that 2010 was 14 years ago...

[–] melroy@kbin.melroy.org 1 points 9 months ago (1 children)

Yea indeed.. I try to get MS Office 2019 working.. Which is... challenging. Just installing msxxml6 & riched20 won't do it.

[–] melroy@kbin.melroy.org 1 points 9 months ago

Ps. And don't get me started on Office 2021.

[–] Chewy7324@discuss.tchncs.de 11 points 9 months ago (1 children)

I'm impressed how well wine-wayland already works. Some games still have issues with mouse locking, at least Overwatch doesn't register the at all. But as they said, bugs will be fixed over time.

[–] Rustmilian@lemmy.world 3 points 9 months ago* (last edited 9 months ago)

I have issues with game resolution, when using Wine-Wayland the only resolution available is the one already set for my display, which renders FSR completely useless. As well as this little cursor render bug that sticks a frozen windows cursor on the screen, though I've been able to work around this.

[–] Pantherina@feddit.de 3 points 9 months ago* (last edited 9 months ago) (1 children)

Are Wine apps ran isolated? Because we basically have no viruses on Linux, but I imagine running random of course legally obtained games may be very risky

[–] Chewy7324@discuss.tchncs.de 5 points 9 months ago (1 children)

No, the Linux filesystem is usually mounted as Z: in wine. Sandboxing through e.g. flatpak/bubblewrap with permissions set to only allow access to ~/Games should protect from many viruses.

[–] dukatos@lemm.ee 1 points 9 months ago (1 children)

Yes, but the virus will still run and make a damage around.

[–] equivocal@lemm.ee 4 points 9 months ago* (last edited 9 months ago) (1 children)
[–] Pantherina@feddit.de 2 points 9 months ago

Wine does not sandbox in any way at all. When run under Wine, a Windows app can do anything your user can. Wine does not (and cannot) stop a Windows app directly making native syscalls, messing with your files, altering your startup scripts, or doing other nasty things.

You need to use AppArmor, SELinux or some type of virtual machine if you want to properly sandbox Windows apps.

Note that the winetricks sandbox verb merely removes the desktop integration and Z: drive symlinks and is not a true sandbox. It protects against errors rather than malice. It's useful for, e.g., keeping games from saving their settings in random subdirectories of your home directory.

So yes, Bottles Flatpak for the win!

[–] iopq@lemmy.world 2 points 9 months ago (1 children)

Maybe once it's ready I'll get my distro to package the staging patches version. I have no way of testing it because my game needs staging patches

[–] Laser@feddit.de 3 points 9 months ago (1 children)

I'm on 9.0 staging and can use wine with Wayland, but not everything works, window bars etc look somewhat off and some games don't start at all, like Stardew Valley. Other games I tried failed to hide the cursor. Others worked just fine.

[–] Emanuel@lemmy.eco.br 1 points 9 months ago (1 children)

How do you make wine run without Xwayland? Just wondering if you could point me to some resource

[–] Laser@feddit.de 5 points 9 months ago (1 children)

It's in the release notes, you add a Wayland driver to your prefix via registry entry and then unset DISPLAY before starting wine.

https://gitlab.winehq.org/wine/wine/-/releases/wine-9.0

The Wayland driver is not yet enabled by default. It can be enabled through the HKCU\Software\Wine\Drivers registry key by running:

wine reg.exe add HKCU\Software\Wine\Drivers /v Graphics /d x11,wayland

and then making sure that the DISPLAY environment variable is unset.

Note that the registry entry is per prefix.

[–] Emanuel@lemmy.eco.br 1 points 9 months ago

Thank you, last I checked on the progress on the wayland driver was around this time last year