diff --git a/apparmor.d/groups/gnome/gnome-shell b/apparmor.d/groups/gnome/gnome-shell index 01c68047..23adf357 100644 --- a/apparmor.d/groups/gnome/gnome-shell +++ b/apparmor.d/groups/gnome/gnome-shell @@ -167,6 +167,7 @@ profile gnome-shell @{exec_path} flags=(attach_disconnected) { owner @{HOME}/.mozilla/firefox/firefox-mpris/{,*} r, owner @{HOME}/@{XDG_MUSIC_DIR}/**/*.jpg r, owner @{HOME}/@{XDG_WALLPAPERS_DIR}/{,**} r, + owner @{HOME}/@{XDG_SCREENSHOTS_DIR}/{,**} rw, owner @{user_config_dirs}/.goutputstream{,*} rw, owner @{user_config_dirs}/monitors.xml{,~} rwl, diff --git a/apparmor.d/tunables/xdg-user-dirs b/apparmor.d/tunables/xdg-user-dirs index 5a58657e..f7ef793a 100644 --- a/apparmor.d/tunables/xdg-user-dirs +++ b/apparmor.d/tunables/xdg-user-dirs @@ -23,7 +23,9 @@ # Extra user personal directories @{XDG_PROJECTS_DIR}="Projects" @{XDG_BOOKS_DIR}="Books" -@{XDG_WALLPAPERS_DIR}="Pictures/Wallpapers" +@{XDG_WALLPAPERS_DIR}="@{XDG_PICTURES_DIR}/Wallpapers" +@{XDG_SCREENSHOTS_DIR}="@{XDG_PICTURES_DIR}/Screenshots" + @{XDG_SYNC_DIR}="Sync" @{XDG_VM_DIR}=".vm"