TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Tell HN: Troubleshooting Slack Crashes during screen sharing on Wayland

8 点作者 siddheshgunjal超过 1 年前
If you&#x27;re a Linux user (like me) opted for Wayland display server, you might have encountered a frustrating crashes when you try to screen share during huddles. This issue has been a there since April 2023 release (Slack 4.31.155) for Linux and it&#x27;s still not fixed till the date of submission of this post. I have tried multiple ways to make it work but in the end it still crashed.<p>Screen sharing is something which was very important to me as I cannot always create a google meet link for small discussions with my team. That&#x27;s why we have huddle in slack.<p>I even tried to switch to X11 on my fedora workstation, but then I had to do the workarounds for gestures for touchpad with touchegg <i>(sudo dnf install touchegg)</i> and GNOME extension (https:&#x2F;&#x2F;extensions.gnome.org&#x2F;extension&#x2F;4033&#x2F;x11-gestures&#x2F;) and the results were not as smooth as they were on wayland. I always preferred wayland because of its performance and also noticed better battery life with it than X11.<p>After searching the web for hours, I finally found the solution on this issue tracker on github: https:&#x2F;&#x2F;github.com&#x2F;flathub&#x2F;com.slack.Slack&#x2F;issues&#x2F;196#issue-1684889894<p>The trick is simple, Just rollback to the version 4.29.149 with: sudo flatpak update --commit=b95d24a8a354db07b95b065b3e57e9442c9fbaf851a49cbe6e7b1aa0afcab591 com.slack.Slack and then just mask the package so it does not updates to latest version. flatpak mask com.slack.Slack<p>Now your screen sharing should work with wayland session. You can test to verify the working from <i>Preferences -&gt; Audio &amp; Video -&gt; Troubleshooting -&gt; Run an audio, video and screensharing test</i> or just start a huddle in an empty channel to test the screen sharing.<p>Devs hinted that the fix is in work with the latest Slack 4.34.115 release on 5th September 2023 (https:&#x2F;&#x2F;slack.com&#x2F;intl&#x2F;en-in&#x2F;release-notes&#x2F;linux), till it lands in production, we&#x27;ll have to use Slack 4.29.149 for working screen sharing in wayland session.

2 条评论

treesciencebot超过 1 年前
In case you are using snap and don&#x27;t mind using a beta version, I was able to get rid of the same issue by updating to the beta channel which has the 4.34.120 (sudo snap refresh slack --beta). Wayland + window sharing works (with XWaylandBrige)
joefiorini超过 1 年前
Thanks a ton for posting this! You saved me a lot of trouble!