From 7c4c48f4c31bc7b62a72c008668050816b7ee06a Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Thu, 12 Jan 2023 18:24:06 +0000 Subject: [PATCH] fix(profile): initial fix for #94. --- apparmor.d/groups/children/child-open | 1 + apparmor.d/groups/gnome/gsd-media-keys | 3 +++ 2 files changed, 4 insertions(+) diff --git a/apparmor.d/groups/children/child-open b/apparmor.d/groups/children/child-open index 81952a03..6759e8e6 100644 --- a/apparmor.d/groups/children/child-open +++ b/apparmor.d/groups/children/child-open @@ -63,6 +63,7 @@ profile child-open { /{usr/,}bin/flameshot rPx, /{usr/,}bin/geany rPx, /{usr/,}bin/gnome-disk-image-mounter rPx, + /{usr/,}bin/kgx rPUx, /{usr/,}bin/okular rPx, /{usr/,}bin/qbittorrent rPx, /{usr/,}bin/qpdfview rPx, diff --git a/apparmor.d/groups/gnome/gsd-media-keys b/apparmor.d/groups/gnome/gsd-media-keys index a105ae69..3bad81c1 100644 --- a/apparmor.d/groups/gnome/gsd-media-keys +++ b/apparmor.d/groups/gnome/gsd-media-keys @@ -156,6 +156,9 @@ profile gsd-media-keys @{exec_path} flags=(attach_disconnected) { @{exec_path} mr, + /{usr/,}lib/@{multiarch}/glib-[0-9]*/gio-launch-desktop rPx -> child-open, + /{usr/,}lib/gio-launch-desktop rPx -> child-open, + /usr/share/dconf/profile/gdm r, /usr/share/gdm/greeter-dconf-defaults r, /usr/share/glib-2.0/schemas/gschemas.compiled r,