Slack screen sharing under Wayland

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 /usr/share/applications/slack.desktop to ~/.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.

7 thoughts on “Slack screen sharing under Wayland”

  1. 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.

  2. /usr/share/applications/slack.desktop
    does not exist when installed with snap, it is on
    /var/lib/snapd/desktop/applications/slack_slack.desktop

    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.

  3. I’d recommend against modifying the “`slack.desktop file in place. It’s better to copy it to .local/share/applications and edit it there. Otherwise it’s just going to get wiped on the next slack update.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.