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!
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.
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.
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.
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.
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.
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!
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.
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
However since no one tests it I’ve found them to be really buggy. Hence why I suggested just using the web app.
True
Can you give some details about this? I can’t find anything online about it.
Electron is chromium based but has own environment variables.
But sorry I think the env var was incomplete or wrong. Edited
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
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.
Looks like it’s a known bug on Slack’s end that’s known for 1.5 years but now is “actively investigated” as of 8 days ago.
https://forums.slackcommunity.com/s/question/0D53a00009BSEGACA5/when-will-slack-support-wayland-screen-sharing-does-anyone-have-workarounds-or-hacks-to-make-it-work?language=en_US
Lets see if “active investigation” leads to anything.
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.
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.
Edit: I just updated Zoom and it’s working now!
Zoom doesn’t work at allSlack 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.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.
You need xdg-desktop-portal, the desktop portal of your DE and a modern Browser.
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.