this post was submitted on 25 Apr 2024
230 points (97.5% liked)
Linux
47996 readers
1030 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
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.
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.
Alternatively you can use
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.
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.
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.
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.
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.