Screen sharing on Wayland + Gnome
I've had to set this up a few times already this year, so I'm going to put down the steps that currently work for me.
- Install
pipewire
- Install
libpipewire02
1 2 - Enable screen sharing in gsettings:
gsettings set org.gnome.mutter experimental-features "['screen-cast', 'remote-desktop']"
- Ensure you have
xdg-desktop-portal
andxdg-desktop-portal-gtk
installed 3 - Enable pipewire in systemd:
systemctl enable --now pipewire
If you're on Manjaro, there's a manjaro-pipewire
package that replaces your audio stack with pipewire plugins as well.