Fix support for Qt5 and Qt5 in apps groups

This changes fix access to qt5ct and qt6ct for:

*Calibre
*Flameshot
*Telegram
This commit is contained in:
Jose Maldonado aka Yukiteru 2024-04-25 22:02:59 -04:00 committed by Alex
parent 004572349d
commit d26b86c5d7
3 changed files with 3 additions and 8 deletions

View File

@ -30,6 +30,7 @@ profile calibre @{exec_path} {
include <abstractions/nvidia> include <abstractions/nvidia>
include <abstractions/opencl-intel> include <abstractions/opencl-intel>
include <abstractions/python> include <abstractions/python>
include <abstractions/qt5>
include <abstractions/qt5-compose-cache-write> include <abstractions/qt5-compose-cache-write>
include <abstractions/qt5-settings-write> include <abstractions/qt5-settings-write>
include <abstractions/qt5-shader-cache> include <abstractions/qt5-shader-cache>
@ -66,8 +67,6 @@ profile calibre @{exec_path} {
/usr/share/calibre/{,**} r, /usr/share/calibre/{,**} r,
/usr/share/hwdata/pnp.ids r, /usr/share/hwdata/pnp.ids r,
/usr/share/qt5/**.pak r,
/usr/share/qt5ct/** r,
/etc/fstab r, /etc/fstab r,
/etc/inputrc r, /etc/inputrc r,

View File

@ -17,6 +17,7 @@ profile flameshot @{exec_path} {
include <abstractions/freedesktop.org> include <abstractions/freedesktop.org>
include <abstractions/dri-enumerate> include <abstractions/dri-enumerate>
include <abstractions/mesa> include <abstractions/mesa>
include <abstractions/qt5>
include <abstractions/qt5-compose-cache-write> include <abstractions/qt5-compose-cache-write>
include <abstractions/qt5-settings-write> include <abstractions/qt5-settings-write>
include <abstractions/thumbnails-cache-read> include <abstractions/thumbnails-cache-read>
@ -44,9 +45,6 @@ profile flameshot @{exec_path} {
owner @{user_config_dirs}/flameshot/flameshot.ini* rwl -> @{user_config_dirs}/flameshot/#@{int}, owner @{user_config_dirs}/flameshot/flameshot.ini* rwl -> @{user_config_dirs}/flameshot/#@{int},
owner @{user_config_dirs}/flameshot/flameshot.ini.lock rwk, owner @{user_config_dirs}/flameshot/flameshot.ini.lock rwk,
owner @{user_config_dirs}/qt5ct/{,**} r,
/usr/share/qt5ct/** r,
/var/lib/dbus/machine-id r, /var/lib/dbus/machine-id r,
/etc/machine-id r, /etc/machine-id r,

View File

@ -21,6 +21,7 @@ profile telegram-desktop @{exec_path} {
include <abstractions/freedesktop.org> include <abstractions/freedesktop.org>
include <abstractions/audio-client> include <abstractions/audio-client>
include <abstractions/user-download-strict> include <abstractions/user-download-strict>
include <abstractions/qt5>
include <abstractions/qt5-compose-cache-write> include <abstractions/qt5-compose-cache-write>
include <abstractions/qt5-settings-write> include <abstractions/qt5-settings-write>
include <abstractions/qt5-shader-cache> include <abstractions/qt5-shader-cache>
@ -77,9 +78,6 @@ profile telegram-desktop @{exec_path} {
/usr/share/hwdata/pnp.ids r, /usr/share/hwdata/pnp.ids r,
owner @{user_config_dirs}/qt5ct/{,**} r,
/usr/share/qt5ct/** r,
# Allowed apps to open # Allowed apps to open
@{lib}/firefox/firefox rPx, @{lib}/firefox/firefox rPx,
@{bin}/smplayer rPx, @{bin}/smplayer rPx,