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).
This commit is contained in:
Albin Kauffmann 2021-02-09 18:58:59 +01:00
parent 8e8346f865
commit 8ad2807297
2 changed files with 8 additions and 0 deletions

View file

@ -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

View file

@ -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