diff --git a/apparmor.d/groups/xfce/mousepad b/apparmor.d/groups/xfce/mousepad new file mode 100644 index 00000000..4ed30ede --- /dev/null +++ b/apparmor.d/groups/xfce/mousepad @@ -0,0 +1,26 @@ +# apparmor.d - Full set of apparmor profiles +# Copyright (C) 2024 Alexandre Pujol +# SPDX-License-Identifier: GPL-2.0-only + +abi , + +include + +@{exec_path} = @{bin}/mousepad +profile mousepad @{exec_path} { + include + include + include + include + include + + @{exec_path} mr, + + owner @{user_config_dirs}/Mousepad/ rw, + owner @{user_config_dirs}/Mousepad/{,**} rw, + + owner @{user_share_dirs}/Mousepad/ rw, + owner @{user_share_dirs}/Mousepad/{,**} rw, + + include if exists +} \ No newline at end of file diff --git a/apparmor.d/groups/xfce/xfce-about b/apparmor.d/groups/xfce/xfce-about new file mode 100644 index 00000000..b66ad770 --- /dev/null +++ b/apparmor.d/groups/xfce/xfce-about @@ -0,0 +1,20 @@ +# apparmor.d - Full set of apparmor profiles +# Copyright (C) 2024 Alexandre Pujol +# SPDX-License-Identifier: GPL-2.0-only + +abi , + +include + +@{exec_path} = @{bin}/xfce4-about +profile xfce-about @{exec_path} { + include + include + include + + @{exec_path} mr, + + @{open_path} rPx -> child-open-browsers, + + include if exists +} \ No newline at end of file