To get screen sharing in Slack to properly work under Wayland, you need to explicitly tell Slack to use PipeWire for screen capturing. Copy Slack’s desktop file from
~/.local/share/applications/slack.desktop and modify the
Exec line to look like:
Exec=/usr/bin/slack --enable-features=WebRTCPipeWireCapturer %U
Now restart Slack and screen sharing should work properly.
5 thoughts on “Slack screen sharing under Wayland”
Looks like this workaround is no longer valid using Ubuntu 22.04.
@Thorsten / It worked for me on 22.04
working for me on 22.04, thanks. Initially I thought it didn’t but I had not exited the existing slack instance; it was quite persistent.
does not exist when installed with snap, it is on
Anyway, I tried both with the desktop and directly with
slack --enable-features=WebRTCPipeWireCapturer %U
and it didn’t work. It works diferently, so it’s doing something, but even worst than before. It “let me choose” a screen, that can be an application or a full screen, but neither of them works as it is closed inmediatly after I click it. There is an icon then in the top right corner out of slack that let me know I’m sharing a screen, but I’m not and the icon disappear some seconds after it appear.
I tried also installing directly from .deb, and I had in the path from the post, but same behaviour described.
It seems I’m not the only one with the issue: https://github.com/flathub/com.slack.Slack/issues/101#issuecomment-1276765545