Installing
xorg-xwayland
is necessary for better compatibility with old X11 only applications (a lot nowadays).
Adding this to /etc/environment
fixes some issues with Java Applications (like
Jetbrains’ IDEs): _JAVA_AWT_WM_NONREPARENTING=1
.
Depending on the application (ex. Slack vs Firefox) you might not be able to share fullscreen, and need to share individual applications instead.
Desktop environments:
- GNOME: install
xdg-desktop-portal-gnome xdg-desktop-portal-gtk xdg-desktop-portal
- Sway: install
xdg-desktop-portal-wlr xdg-desktop-portal-gtk xdg-desktop-portal
Applications:
- Firefox: add
MOZ_ENABLE_WAYLAND=1
environment variable. - Slack: update
slack.desktop
application file adding--enable-features=WebRTCPipeWireCapturer
(this should work for any chrome-based application).