this post was submitted on 03 Feb 2024
663 points (90.4% liked)

linuxmemes

20880 readers
6 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 1 points 9 months ago (1 children)

The last time I tried it just shared a black screen. If I switch to X11 it worded.

[โ€“] [email protected] 1 points 9 months ago* (last edited 9 months ago)

You are most definitely running Discord in XWayland. You need to add chromium flags to make it run in native Wayland. You also need to have an xdg desktop portal to support screen sharing.

If you want screenshare to work on an app that can't run in wayland, use XWaylandVideoBridge