Share screen on Wayland

Everything about X, Gnome, KDE, ... and everything running on it

Share screen on Wayland

Postby pedronovaes » 2021-04-06 15:02

Hi,

I'm working from home now and I need to share my screen several times.

Searching on web, I discovered this topic https://askubuntu.com/questions/1313369/screen-sharing-with-wayland, where the post's author said that
The easy solution is to use ubuntu 21.04 or later which properly integrates pipewire. Ubuntu 21.04 also defaults to wayland (intel and amd only) so pipewire screen sharing should work out of the box.


My question is: how can I integrate pipewire on Debian 10? Is it just install the pipewire package (https://packages.debian.org/search?keywords=pipewire) from official Debian repo?

Thanks
pedronovaes
 
Posts: 27
Joined: 2019-08-07 17:49

Re: Share screen on Wayland

Postby arzgi » 2021-04-07 12:08

Code: Select all
$ aptitude search pipewire
p   gstreamer1.0-pipewire                    - GStreamer 1.0 plugin for the PipeWire multimedia s
p   gstreamer1.0-pipewire:i386               - GStreamer 1.0 plugin for the PipeWire multimedia s
p   libpipewire-0.2-1                        - libraries for the PipeWire multimedia server     
p   libpipewire-0.2-1:i386                   - libraries for the PipeWire multimedia server     
p   libpipewire-0.2-dev                      - libraries for the PipeWire multimedia server - dev
p   libpipewire-0.2-dev:i386                 - libraries for the PipeWire multimedia server - dev
p   libpipewire-0.2-doc                      - libraries for the PipeWire multimedia server - doc
p   pipewire                                 - PipeWire multimedia server                       
p   pipewire:i386


pipewire is in Buster's (current Debian stable) repo, but it probably is older version than Ubuntu's, try and see.
arzgi
 
Posts: 731
Joined: 2008-02-21 17:03
Location: Finland

Re: Share screen on Wayland

Postby pedronovaes » 2021-04-07 15:12

pipewire is in Buster's (current Debian stable) repo, but it probably is older version than Ubuntu's, try and see.


Just installed pipewire using this command
Code: Select all
sudo apt pipewire
and it didn't work. Any idea?
pedronovaes
 
Posts: 27
Joined: 2019-08-07 17:49

Re: Share screen on Wayland

Postby arochester » 2021-04-07 16:36

Did you reboot?

Have you looked at e.g. Chrome Remote Desktop https://remotedesktop.google.com/
Or the Screen Sharing Extension https://chrome.google.com/webstore/deta ... looa?hl=en

Should work, for the moment, on Chromium Browser.
arochester
 
Posts: 1916
Joined: 2010-12-07 19:55

Re: Share screen on Wayland

Postby pedronovaes » 2021-04-08 00:59

I did these steps (from this post https://soyuka.me/make-screen-sharing-wayland-sway-work/) and after reboot, the share screen option worked:

1. Enable the flag #enable-webrtc-pipewire-capturer on Google Chrome
2. Install these packages pipewire and xdg-desktop-portal-gtk

Thanks
pedronovaes
 
Posts: 27
Joined: 2019-08-07 17:49

Re: Share screen on Wayland

Postby arzgi » 2021-04-08 14:39

pedronovaes wrote:Just installed pipewire using this command
Code: Select all
sudo apt pipewire
and it didn't work. Any idea?


That's wrong, to installl
Code: Select all
sudo apt install pipewire
arzgi
 
Posts: 731
Joined: 2008-02-21 17:03
Location: Finland


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 10 guests

fashionable