Re: wayland support

From: CeDeROM <CeDeROM_at_tlen.pl>
Date: Sat, 25 Sep 2021 02:52:34 +0200
On Sat, Sep 25, 2021 at 12:16 AM Jan Beich wrote:
>
> Baptiste Daroussin <bapt_at_FreeBSD.org> writes:
>
> > Hello everyone,
> >
> > chromium in FreeBSD is build without wayland support, however, I figure on linux
> > it supports both x11 and wayland, would it be possible to add
> > ozone_platform_wayland = true in build/config/ozone.gni
>
> rtc_use_pipewire=true is also necessary[1] for screen sharing but can be
> postponed until Ozone Wayland works. For comparison, in Firefox it works
> like the following:
>
>   # pkg install firefox sway pam_xdg xdg-desktop-portal-wlr xdg-desktop-portal
>   # echo 'session optional pam_xdg.so notroot runtime' >>/etc/pam.d/system
>   $ exit # log out to pick up XDG_RUNTIME_DIR
>   <new login>
>   $ dbus-daemon --session --fork --address=unix:runtime=yes
>   $ seatd-launch sway
>   <GUI session>
>   $ export XDG_CURRENT_DESKTOP=sway
>   $ export MOZ_ENABLE_WAYLAND=1
>   $ dbus-update-activation-environment --all
>   $ daemon -f pipewire
>   $ firefox https://mozilla.github.io/webrtc-landing/gum_test.html
>   <click on "Screen Capture">
>   <click on "Allow" without changing "Window or screen">
>   <click anywhere to select the desired output/monitor>
>   <watch mirrored content on the web page>
>   <click on "Stop Sharing" to end the capture or just close Firefox>
>
> [1] https://github.com/emersion/xdg-desktop-portal-wlr/wiki/Screencast-Compatibility
>     https://wiki.archlinux.org/title/PipeWire#WebRTC_screen_sharing

Thank you Jan :-) Do you think this we could add this instructions to
wiki? Is there any WM that could provide Xorg like experience on
Wayland (I did not make there yet some time ago tried with
Enligthenment) ? :-)

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
Received on Sat Sep 25 2021 - 00:52:34 UTC

Original text of this message