fix: xdg-desktop-portal breaks screensharing

fix: #376
This commit is contained in:
Alexandre Pujol 2024-06-12 22:18:02 +01:00
parent ff88400b22
commit 56464d24bf
Failed to generate hash of commit
2 changed files with 4 additions and 3 deletions

View file

@ -41,6 +41,9 @@
owner @{user_config_dirs}/pulse/client.conf.d/{,*.conf} r,
owner @{user_config_dirs}/pulse/cookie rwk,
owner @{user_config_dirs}/pipewire/ rw,
owner @{user_config_dirs}/pipewire/client.conf r,
owner @{user_share_dirs}/openal/hrtf/{,**} r,
owner @{user_share_dirs}/sounds/__custom/index.theme r,

View file

@ -10,6 +10,7 @@ include <tunables/global>
profile xdg-desktop-portal @{exec_path} flags=(attach_disconnected) {
include <abstractions/base>
include <abstractions/app-open>
include <abstractions/audio-client>
include <abstractions/bus-session>
include <abstractions/bus-system>
include <abstractions/bus/net.hadess.PowerProfiles>
@ -70,10 +71,8 @@ profile xdg-desktop-portal @{exec_path} flags=(attach_disconnected) {
/.flatpak-info r,
/usr/share/dconf/profile/gdm r,
/usr/share/pipewire/client.conf r,
/usr/share/xdg-desktop-portal/** r,
/etc/pipewire/client.conf.d/ r,
/etc/sysconfig/proxy r,
/var/lib/gdm{,3}/greeter-dconf-defaults r,
@ -83,7 +82,6 @@ profile xdg-desktop-portal @{exec_path} flags=(attach_disconnected) {
owner @{tmp}/icon* rw,
owner @{run}/user/@{uid}/.flatpak/{,*/*} r,
owner @{run}/user/@{uid}/pipewire-@{int} rw,
@{PROC}/ r,
@{PROC}/*/ r,