Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Child open: add some executables and complete kde-open5 #192

Merged
merged 5 commits into from
Aug 17, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions apparmor.d/abstractions/kde-open5.d/complete
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@{bin}/kde-open rix,
9 changes: 9 additions & 0 deletions apparmor.d/groups/children/child-open
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ include <tunables/global>
# App allowed to open
profile child-open {
include <abstractions/base>
include <abstractions/dri-enumerate>
include <abstractions/mesa>
include <abstractions/vulkan>
include <abstractions/xdg-open>

@{bin}/exo-open mr,
Expand Down Expand Up @@ -73,6 +76,7 @@ profile child-open {
@{bin}/gnome-calculator rPUx,
@{bin}/gnome-disk-image-mounter rPx,
@{bin}/gnome-disks rPx,
@{bin}/gwenview rPUx,
@{bin}/kgx rPx,
@{bin}/okular rPx,
@{bin}/qbittorrent rPx,
Expand All @@ -86,6 +90,11 @@ profile child-open {
@{bin}/viewnior rPUx,
@{bin}/vlc rPx,
@{bin}/xarchiver rPx,
@{lib}/libreoffice/program/{soffice,soffice.bin,oosplash} rPUx,

owner @{user_config_dirs}/menus/{,**} r,

owner @{run}/user/@{uid}/kioclient*.[0-9]*.kioworker.socket rwl -> @{run}/user/@{uid}/#[0-9]*[0-9],
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be better placed in kde-open5.d/complete


include if exists <usr/child-open.d>
include if exists <local/child-open>
Expand Down