From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2FB7D158099 for ; Sun, 26 Nov 2023 09:56:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7E3372BC0C9; Sun, 26 Nov 2023 09:56:01 +0000 (UTC) Received: from mail-oo1-xc2f.google.com (mail-oo1-xc2f.google.com [IPv6:2607:f8b0:4864:20::c2f]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1E7932BC022 for ; Sun, 26 Nov 2023 09:56:00 +0000 (UTC) Received: by mail-oo1-xc2f.google.com with SMTP id 006d021491bc7-581ed744114so1504911eaf.0 for ; Sun, 26 Nov 2023 01:56:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700992560; x=1701597360; darn=lists.gentoo.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=SV6Ze9w7DK/C+HDRx/rHZ0mA4E+3mLsqHkeImJ2Kcew=; b=JmIHN0xPdfYZFWuiQEdGViUzq2xsD6cU7hKdy9jWqTHAk8k4abOxo69c9PxjVzL15x TShJrdUUGTMGWvR7K9AmTSILnNUvJJKi739LwixrDLpZ4QvO3phc/VfbEri16B0PIqhD 12iZBd1AN/DY65Rm9tYGosi9jMWLFUf5A7nURPcSU8W5o+ft/ipqHINejQSjR5obMGM4 cgULcAh/8CGPLOahfbpR2zOcpBQvHiFD6+28DFI+klPlr4uuGpFgA2s4cGzpcUczJ2Nl Nc/+e8SEULdibM2CjYoylvdrVZFGW+CaZVXKpQ4qIOQRp03Y2Vjn/y1Xo5NxwyliVSAQ RBgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700992560; x=1701597360; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=SV6Ze9w7DK/C+HDRx/rHZ0mA4E+3mLsqHkeImJ2Kcew=; b=rZT/7XOFEAb3DLsWHtpQBQs9y9jBw5RLIHnRNgX4L9z68CzrkYiDVYG8qCtfwz/c2S 3caoDOe3meXL1TWrF8VaqJ3KaOTTgFra/N7+RJlOgBT/PJ5nBn6TigJacv2ioCcDTRyS 0f61EzHVaDX9E/omRwMOM+kDlJBq9AebNjwjO4Apuq309MKRIjh7bIwxJqn6lFyzsT9k G8EAT4jR5hyG7ej63nRRjdTHyaKSnqmvizy1DS0zV3QYBZRrx94Vlz3peTDrucv2dmFd jWfLg6EqG/u+1ThBAI7wq7l5t5yvVo6pNHZCzXy/CBQr32mdx7o8HeaEetrF/UNMenzH AMtg== X-Gm-Message-State: AOJu0YygLEUXI8Zz5MHPzLssnFcnIdxwp/QiROIeAs034aYFxwy0gldk +VnBjsze48KnaArZ2MQKiQY5XKqytOSe5Rb555IV/YQHIWg= X-Google-Smtp-Source: AGHT+IFYWwoCYski0cH1M2Yg4t+IIAV1keMSblQI0vtQXRL7RFFdxx/lkMq8UTXGQlvqbpv9j8W8SWVPjbjxxcgTMXU= X-Received: by 2002:a4a:6c56:0:b0:58d:6e28:853f with SMTP id u22-20020a4a6c56000000b0058d6e28853fmr994684oof.9.1700992560004; Sun, 26 Nov 2023 01:56:00 -0800 (PST) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 From: Jamie Getty Date: Sun, 26 Nov 2023 22:55:49 +1300 Message-ID: Subject: [gentoo-user] Cannot share screen via google meet with Firefox and Sway To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary="0000000000004e06ac060b0b31c7" X-Archives-Salt: 763eacfa-d07c-4102-8013-110b0a17d9fb X-Archives-Hash: a055c9c8aefaaeaf871802ad8ed05bc6 --0000000000004e06ac060b0b31c7 Content-Type: text/plain; charset="UTF-8" Hey everyone. I am trying to share my screen via google meet in Firefox. I am running Sway as my window manager. I am also running pipewire instead of pulseaudio. Whenever I select the "Present now" option, the only option I can select is "Use operating system settings". If I click Allow, Meet will tell me I am sharing my screen, but I am given no indication that I am sharing successfully. I also tried to join the meeting from my phone to see what's on the other end, and my screen was not being shared to my phone. My sway configuration contains this line, which I am told is necessary for screen sharing: *exec --no-startup-id dbus-update-activation-environment --all* I also added these lines to my .bashrc: *export MOZ_ENABLE_WAYLAND=1* *export XDG_SESSION_TYPE=wayland* *export XDG_CURRENT_DESKTOP=sway* I even recompiled firefox with the *screencast* flag and rebooted my PC, but it still didn't help. However, one thing I did notice is that if I run *xdg-desktop-portal-wlr --loglevel=TRACE*, I get an error: *jamie@localhost ~ $ /usr/libexec/xdg-desktop-portal-wlr --loglevel=TRACE2023/11/26 22:48:19 [TRACE] - config: trying config file /home/jamie/.config/xdg-desktop-portal-wlr/sway2023/11/26 22:48:19 [TRACE] - config: trying config file /home/jamie/.config/xdg-desktop-portal-wlr/config2023/11/26 22:48:19 [TRACE] - config: trying config file /etc/xdg/xdg-desktop-portal-wlr/sway2023/11/26 22:48:19 [TRACE] - config: trying config file /etc/xdg/xdg-desktop-portal-wlr/config2023/11/26 22:48:19 [ERROR] - config: no config file found2023/11/26 22:48:19 [DEBUG] - config: outputname: (null)2023/11/26 22:48:19 [DEBUG] - config: max_fps: 0.0000002023/11/26 22:48:19 [DEBUG] - config: exec_before: (null)2023/11/26 22:48:19 [DEBUG] - config: exec_after: (null)2023/11/26 22:48:19 [DEBUG] - config: chooser_cmd: (null)2023/11/26 22:48:19 [DEBUG] - config: chooser_type: default2023/11/26 22:48:19 [ERROR] - dbus: failed to connect to user bus: No such file or directoryjamie@localhost ~ $* Also, while *xdg-desktop-portal-wlr* is not running, *xdg-desktop-portal* is: *jamie@localhost ~ $ ps -elfww | grep -i xdg0 S jamie 3089 1 0 69 -11 - 76529 do_sys 22:39 ? 00:00:00 /usr/libexec/xdg-permission-store0 S jamie 3106 1 0 69 -11 - 95583 do_sys 22:39 ? 00:00:00 /usr/libexec/xdg-desktop-portal0 S jamie 3112 1 0 69 -11 - 132469 do_sys 22:39 ? 00:00:00 /usr/libexec/xdg-document-portal0 S jamie 4076 3998 0 80 0 - 1683 pipe_r 22:49 pts/1 00:00:00 grep --colour=auto -i xdgjamie@localhost ~ $ * I'm really at a loss here. I don't know what to check next. Lots of guides, suhc as the troubleshooting section of the *obs* package wiki page, mention a *screencast* flag as part of the xdg-desktop-portal package, but there's no such flag: *jamie@localhost ~ $ sudo equery u xdg-desktop-portal[ Legend : U - final flag setting for installation][ : I - package is installed with flag ][ Colors : set, unset ] * Found these USE flags for sys-apps/xdg-desktop-portal-1.18.0-r1: U I - - flatpak : Enable sys-apps/flatpak integration - - geolocation : Enable physical position determination + + seccomp : Use sys-apps/bubblewrap (which requires seccomp) to sandbox some functionality like icon handling - - systemd : Enable use of systemd-specific libraries and features like socket activation or session tracking - - test : Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)jamie@localhost ~ $ sudo equery u xdg-desktop-portal-wlr[ Legend : U - final flag setting for installation][ : I - package is installed with flag ][ Colors : set, unset ] * Found these USE flags for gui-libs/xdg-desktop-portal-wlr-0.5.0: U I + + elogind : Enable support for rootless session via elogind - - systemd : Enable use of systemd-specific libraries and features like socket activation or session trackingjamie@localhost ~ $* Any further help with this would be much appreciated. -- Sincerely, Jamie --0000000000004e06ac060b0b31c7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hey everyone. I am trying to share my screen via goog= le meet in Firefox. I am running Sway as my window manager. I am also runni= ng pipewire instead of pulseaudio.

Whenever I = select the "Present now" option, the only option I can select is = "Use operating system settings". If I click Allow, Meet will tell= me I am sharing my screen, but I am given no indication that I am sharing = successfully.

I also tried to join the meeting fro= m my phone to see what's on the other end, and my screen was not being = shared to my phone.

My sway configuration contains= this line, which I am told is necessary for screen sharing:
e= xec --no-startup-id dbus-update-activation-environment --all
=
I also added these lines to my .bashrc:
export = MOZ_ENABLE_WAYLAND=3D1
export XDG_SESSION_TYPE=3Dwayland
export XDG_CURRENT_DESKTOP=3Dsway

<= div>I even recompiled firefox with the screencast flag and rebooted = my PC, but it still didn't help.

However, = one thing I did notice is that if I run xdg-desktop-portal-wlr --logleve= l=3DTRACE, I get an error:
jamie@localhost ~ $ /usr/libexe= c/xdg-desktop-portal-wlr --loglevel=3DTRACE
2023/11/26 22:48:19 [TRACE] = - config: trying config file /home/jamie/.config/xdg-desktop-portal-wlr/swa= y
2023/11/26 22:48:19 [TRACE] - config: trying config file /home/jamie/.= config/xdg-desktop-portal-wlr/config
2023/11/26 22:48:19 [TRACE] - confi= g: trying config file /etc/xdg/xdg-desktop-portal-wlr/sway
2023/11/26 22= :48:19 [TRACE] - config: trying config file /etc/xdg/xdg-desktop-portal-wlr= /config
2023/11/26 22:48:19 [ERROR] - config: no config file found
20= 23/11/26 22:48:19 [DEBUG] - config: outputname: =C2=A0(null)
2023/11/26 = 22:48:19 [DEBUG] - config: max_fps: =C2=A00.000000
2023/11/26 22:48:19 [= DEBUG] - config: exec_before: =C2=A0(null)
2023/11/26 22:48:19 [DEBUG] -= config: exec_after: =C2=A0(null)
2023/11/26 22:48:19 [DEBUG] - config: = chooser_cmd: (null)
2023/11/26 22:48:19 [DEBUG] - config: chooser_type: = default
2023/11/26 22:48:19 [ERROR] - dbus: failed to connect to user bu= s: No such file or directory
jamie@localhost ~ $

Also, while xdg-desktop-portal-wlr is not running, xdg-desk= top-portal is:
jamie@localhost ~ $ ps -elfww | grep -i xdg=
0 S jamie =C2=A0 =C2=A0 3089 =C2=A0 =C2=A0 1 =C2=A00 =C2=A069 -11 - 765= 29 do_sys 22:39 ? =C2=A0 =C2=A0 =C2=A0 =C2=A000:00:00 /usr/libexec/xdg-perm= ission-store
0 S jamie =C2=A0 =C2=A0 3106 =C2=A0 =C2=A0 1 =C2=A00 =C2=A0= 69 -11 - 95583 do_sys 22:39 ? =C2=A0 =C2=A0 =C2=A0 =C2=A000:00:00 /usr/libe= xec/xdg-desktop-portal
0 S jamie =C2=A0 =C2=A0 3112 =C2=A0 =C2=A0 1 =C2= =A00 =C2=A069 -11 - 132469 do_sys 22:39 ? =C2=A0 =C2=A0 =C2=A0 00:00:00 /us= r/libexec/xdg-document-portal
0 S jamie =C2=A0 =C2=A0 4076 =C2=A03998 = =C2=A00 =C2=A080 =C2=A0 0 - =C2=A01683 pipe_r 22:49 pts/1 =C2=A0 =C2=A000:0= 0:00 grep --colour=3Dauto -i xdg
jamie@localhost ~ $
=
I'm really at a loss here. I don't know what = to check next. Lots of guides, suhc as the troubleshooting section of the <= i>obs package wiki page, mention a screencast flag as part of th= e xdg-desktop-portal package, but there's no such flag:
ja= mie@localhost ~ $ sudo equery u xdg-desktop-portal
[ Legend : U - final = flag setting for installation]
[ =C2=A0 =C2=A0 =C2=A0 =C2=A0: I - packag= e is installed with flag =C2=A0 =C2=A0 ]
[ Colors : set, unset =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 ]
=C2=A0* Found these USE flags for sys-apps/xdg-deskt= op-portal-1.18.0-r1:
=C2=A0U I
=C2=A0- - flatpak =C2=A0 =C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 : Enable sys-apps/flatpak integration
=C2=A0- -= geolocation : Enable physical position determination
=C2=A0+ + seccomp = =C2=A0 =C2=A0=C2=A0 : Use sys-apps/bubblewrap (which requires seccomp) to s= andbox some functionality like icon handling
=C2=A0- - systemd =C2=A0 = =C2=A0=C2=A0 =C2=A0 : Enable use of systemd-specific libraries and features= like socket activation or session tracking
=C2=A0- - test =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 : Enable dependencies and/or pre= parations necessary to run tests (usually controlled by FEATURES=3Dtest but= can be toggled
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 independently)
jamie@localhost ~ $ sudo equery u xdg-des= ktop-portal-wlr
[ Legend : U - final flag setting for installation]
[= =C2=A0 =C2=A0 =C2=A0 =C2=A0: I - package is installed with flag =C2=A0 =C2= =A0 ]
[ Colors : set, unset =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ]
=C2=A0* Found = these USE flags for gui-libs/xdg-desktop-portal-wlr-0.5.0:
=C2=A0U I
= =C2=A0+ + elogind : Enable support for rootless session via elogind
=C2= =A0- - systemd : Enable use of systemd-specific libraries and features like= socket activation or session tracking
jamie@localhost ~ $

Any further help with this would be much appreciated= .
--
Sincerely,
Jamie
--0000000000004e06ac060b0b31c7--