From 8ad2807297882e308da71f87fa2923f8fbdfd0cd Mon Sep 17 00:00:00 2001 From: Albin Kauffmann Date: Tue, 9 Feb 2021 18:58:59 +0100 Subject: Add a comment to some profiles to allow screen sharing This configuration is to be applied in order to get screen sharing working under Wayland (via pipewire and a xdg-desktop-portal backend). Note that {chrome|chromium} does not need the dbus filters (at least as of today) because dbus filtering is not enabled (dbus-user not set to none). --- etc/profile-a-l/chromium-common.profile | 3 +++ etc/profile-a-l/firefox.profile | 5 +++++ 2 files changed, 8 insertions(+) (limited to 'etc/profile-a-l') diff --git a/etc/profile-a-l/chromium-common.profile b/etc/profile-a-l/chromium-common.profile index ce9c652c6..996e00912 100644 --- a/etc/profile-a-l/chromium-common.profile +++ b/etc/profile-a-l/chromium-common.profile @@ -34,6 +34,9 @@ include whitelist-var-common.inc # if your kernel allows unprivileged userns clone. #include chromium-common-hardened.inc +# Uncomment or put in your chromium-common.local to allow screen sharing under wayland. +#whitelist ${RUNUSER}/pipewire-0 + apparmor caps.keep sys_admin,sys_chroot netfilter diff --git a/etc/profile-a-l/firefox.profile b/etc/profile-a-l/firefox.profile index 772aad7da..96bcb773c 100644 --- a/etc/profile-a-l/firefox.profile +++ b/etc/profile-a-l/firefox.profile @@ -41,6 +41,11 @@ dbus-user.own org.mpris.MediaPlayer2.firefox.* #dbus-user.own org.mpris.MediaPlayer2.plasma-browser-integration #dbus-user.talk org.kde.JobViewServer #dbus-user.talk org.kde.kuiserver +# Uncomment or put in your firefox.local to allow screen sharing under wayland. +#whitelist ${RUNUSER}/pipewire-0 +#dbus-user.talk org.freedesktop.portal.* +# Also uncomment or put in your firefox.local if screen sharing sharing still does not work with the above lines (might depends on the portal implementation) +#ignore noroot ignore dbus-user none # Redirect -- cgit v1.2.3-70-g09d2