Share screen on Wayland

Desktop Environments and Multimedia
Post Reply
Message
Author
pedronovaes
Posts: 29
Joined: 2019-08-07 17:49

Share screen on Wayland

#1 Post by pedronovaes »

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 ... th-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

arzgi
Posts: 799
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 4 times

Re: Share screen on Wayland

#2 Post by arzgi »

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.

pedronovaes
Posts: 29
Joined: 2019-08-07 17:49

Re: Share screen on Wayland

#3 Post by pedronovaes »

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?

arochester
Global Moderator
Global Moderator
Posts: 2016
Joined: 2010-12-07 19:55
Has thanked: 1 time
Been thanked: 2 times

Re: Share screen on Wayland

#4 Post by arochester »

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.

pedronovaes
Posts: 29
Joined: 2019-08-07 17:49

Re: Share screen on Wayland

#5 Post by pedronovaes »

I did these steps (from this post https://soyuka.me/make-screen-sharing-w ... 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

arzgi
Posts: 799
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 4 times

Re: Share screen on Wayland

#6 Post by arzgi »

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

Post Reply