You are not logged in.

#1 2024-02-16 09:33:47

lmx
Member
Registered: 2023-12-08
Posts: 4

Screen sharing in Slack under Wayland

I can not get screen sharing to work properly with Slack while using Wayland. I tried editing the slack.desktop file to append --enable-features=WebRTCPipeWireCapturer, but it didn't help. Did anyone get it to work? I am using https://aur.archlinux.org/packages/slack-desktop. Screen sharing works for (some) single windows. I can share goland windows for example but not firefox. I can also not share entire screens.

Last edited by lmx (2024-02-16 09:34:36)

Offline

#2 2024-02-16 12:39:46

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,267

Re: Screen sharing in Slack under Wayland

Because slack will be running on xwayland. Assuming it has a new enough electron baseline get it to run on wayland: https://wiki.archlinux.org/title/Wayland#Electron

Offline

#3 2024-02-20 12:30:59

lmx
Member
Registered: 2023-12-08
Posts: 4

Re: Screen sharing in Slack under Wayland

I have set slack to run under wayland (and confirmed using xeyes) and I can still only share certain windows but not others (e.g. Firefox) and not the whole screen.

Offline

#4 2024-02-20 13:53:08

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,267

Re: Screen sharing in Slack under Wayland

Mhm, xdg-desktop-portal-wlr installed and started and also taken https://wiki.archlinux.org/title/XDG_De … ly_on_sway  into account?

Offline

#5 2024-03-01 15:56:52

lmx
Member
Registered: 2023-12-08
Posts: 4

Re: Screen sharing in Slack under Wayland

I'm sorry for my very slow responses, this is my work machine and I was off sick for a while. xdg-desktop-portal and xdg-desktop-portal-gnome are installed and the systemd service is "active (running)". I don't know if the sway stuff applies to me as I am using gnome which afaik doesn't use sway as a compositor but mutter? I really don't have a deep understanding of compositors so correct me if I am wrong.

The two variables mentioned in the troubleshooting section are set as follows:

WAYLAND_DISPLAY=wayland-0
XDG_CURRENT_DESKTOP=GNOME

Last edited by lmx (2024-03-01 15:59:49)

Offline

#6 2024-03-01 17:35:41

progandy
Member
Registered: 2012-05-17
Posts: 5,319

Re: Screen sharing in Slack under Wayland

You could try the patched version of slack: https://aur.archlinux.org/packages/slac … op-wayland (slack-electron should be patched as well if you prefer to run it with system electron)
Explanation for the changes: https://github.com/flathub/com.slack.Sl … 1807073763
The same is also discussed in the comments of the slack-desktop AUR package.

Last edited by progandy (2024-03-01 17:41:32)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

Board footer

Powered by FluxBB