Screen sharing is hard.
https://mail.gnu.org/archive/html/help-guix/2025-01/msg00127.html
Screen sharing is hard.
https://mail.gnu.org/archive/html/help-guix/2025-01/msg00127.html
@kolev I think I have to start sway with `dbus-launch --exit-with-session sway` but it does work for me with guix and sway.
@kolev actually it might be a little more complicated since I also did some things using Guix home services that I cribbed from @daviwil or @abcdw . Feel free to see if any of it helps you: https://github.com/cmack/dotfiles/tree/main/cmack
Agh, OK. Thanks. So complicated...
@kolev @charliemac @daviwil Both browsers support screensharing, in chromium you may need to enable enable-webrtc-pipewire-capturer .
Also, some dbus, pipewire and xdg-desktop portals setup also required. In RDE it should work out of the box.
@abcdw @kolev @charliemac In addition to using the `home-dbus-service-type` and installing `xdg-desktop-portal`, `xdg-desktop-portal-gtk`, and `xdg-desktop-portal-wlr`, I also add this line as the last line of my Sway configuration:
`exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway`
That makes sure the user-level dbus session has the right environment variables set to aid in screen sharing.
@abcdw I'm using rde but have not added PipeWire. Is that my problem?
@kolev @charliemac @daviwil it's very likely, screensharing works through pipewire.
@abcdw Added the following code. It seems to build. Will test later to see if screen sharing works.
(define-module (kickstart)OK, I added those lines, logged out, and logged back in. Ungoogled Chromium (Wayland) still does not let me share the screen.
It is now.
Same result: I click to share whole screen, and it won't let me click it.
@kolev @charliemac @daviwil Is chrome://flags/#enable-webrtc-pipewire-capturer enabled?
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.