this post was submitted on 25 Apr 2024
241 points (96.9% liked)

Linux

48137 readers
478 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
 

Curious from people who follow its development closely.

  • What protocol are about to be finally implemented?
  • Which ones are still a struggle?
  • How many serious protocols are there missing?

https://arewewaylandyet.com/

you are viewing a single comment's thread
view the rest of the comments
[–] DannyBoy@sh.itjust.works 13 points 6 months ago* (last edited 6 months ago) (3 children)

I want to switch to get high refresh rates on my multi monitor setup. I tried recently again but I can't for the life of me get screen sharing working, which I need for work.

Edit: With some help here and a Slack update released yesterday to fix the problem, it's working in both Zoom and Slack!

[–] frazorth@feddit.uk 7 points 6 months ago (2 children)

What were you trying to screen share with?

Most of the apps people are using are Electron, which has supported Wayland and the pipewire screensharing for nearly 4 years. However since Chrome/Chromium doesn't enable Wayland by default, Electron won't. Which also means that no one tests it in their apps.

I've had such success just ignoring the apps and using the web client since that's up to date and doesn't require the app builders to enable features.

At least under Fedora.

[–] boredsquirrel@slrpnk.net 3 points 6 months ago* (last edited 6 months ago) (2 children)

You can also force apps to use Wayland via environment variables.

ELECTRON_OZONE_PLATFORM_HINT=wayland app

Alternatively you can use

app --ozone-platform-hint=wayland
[–] frazorth@feddit.uk 1 points 6 months ago (1 children)

However since no one tests it I've found them to be really buggy. Hence why I suggested just using the web app.

[–] DannyBoy@sh.itjust.works 1 points 6 months ago (1 children)

Can you give some details about this? I can't find anything online about it.

[–] boredsquirrel@slrpnk.net 2 points 6 months ago (1 children)

Electron is chromium based but has own environment variables.

But sorry I think the env var was incomplete or wrong. Edited

[–] DannyBoy@sh.itjust.works 1 points 6 months ago (1 children)

Thanks, I got it running under Wayland with that (xeyes doesn't show it) but screenshare still isn't working. That's okay, I'll try again next year

[–] boredsquirrel@slrpnk.net 1 points 6 months ago* (last edited 6 months ago) (2 children)

What app? ... that is kinda relevant and you should open a Bug that they need to support pipewire portals for screenshare.

Or, as said, use the browser version.

Zoom runs fine in the browser, and it way less invasive. Keep in mind, that "screenshare works" that this app can record everything you do as long as it is running. And if it is a native app (no flatpak) then it can also start how it likes.

[–] DannyBoy@sh.itjust.works 2 points 6 months ago (1 children)
[–] boredsquirrel@slrpnk.net 1 points 6 months ago

Lets see if "active investigation" leads to anything.

[–] DannyBoy@sh.itjust.works 1 points 6 months ago (1 children)

It's Slack, so Electron, and the browser version unfortunately doesn't support Huddle calls, which is what we use for all our calls and where I'd be screen sharing from.

[–] boredsquirrel@slrpnk.net 2 points 6 months ago (1 children)

Annyoing. If you are/were on KDE Plasma there is XWaylandVideobridge, which allows to share the screen by apps requesting access to the webcam, but getting a virtual input instead, which comes out of KDEs portal.

Yeah complex, but said to work. Apps need to run as X11 though.

[–] DannyBoy@sh.itjust.works 1 points 6 months ago (1 children)

I'm on GNOME, but thanks for the help. Getting me to dig deeper and figure out it's a known issue with Slack and not Wayland will help me going forward.

[–] boredsquirrel@slrpnk.net 1 points 6 months ago

No, screensharing works really well. Only problem is if apps expect to show a preview themselves, like Firefox. Then you get annoying duplicate portal requests, still works.

[–] DannyBoy@sh.itjust.works 1 points 6 months ago* (last edited 6 months ago)

Edit: I just updated Zoom and it's working now! ~~Zoom doesn't work at all~~ Slack gives me one window at a time and black screens for Firefox windows. I will try both of these in the browser and see if I get anywhere.

[–] shaytan@lemmy.dbzer0.com 5 points 6 months ago

Your work app may be electron based (which is a bit too common nowadays), and until they update to electron 29, wayland won't probably work.

(or until they add xwayland video bridge, but the former option is better than the latter.

[–] boredsquirrel@slrpnk.net 2 points 6 months ago (1 children)

You need xdg-desktop-portal, the desktop portal of your DE and a modern Browser.

[–] DannyBoy@sh.itjust.works 2 points 6 months ago

I didn't know I needed the desktop portal for my DE as well, I've installed that now. Between that and updating Zoom it works on Zoom now, thanks.