Merge pull request #5905 from Sadoon-AlBader/master

profiles: fix misc in kmail and transmission-qt & add kontact.profile
This commit is contained in:
netblue30 2024-12-18 09:33:10 -05:00 committed by GitHub
commit 7a8b7eb671
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 30 additions and 2 deletions

View file

@ -49,7 +49,6 @@ nogroups
noinput
nonewprivs
noroot
nosound
notv
nou2f
novideo
@ -63,4 +62,9 @@ private-dev
# writable-run-user is needed for signing and encrypting emails
writable-run-user
#restrict-namespaces
# to enable desktop notifications, add these commented lines to your kmail.local file
#dbus-user.talk org.freedesktop.Notifications
#dbus-user filter
# restrict-namespaces

View file

@ -0,0 +1,20 @@
# Firejail profile for kontact
# Description: Personal information manager
# This file is overwritten after every install/update
# Persistent local customizations
include kontact.local
# Persistent global definitions
include globals.local
# kmail/kontact has problems launching akonadi in debian and ubuntu.
# one solution is to have akonadi already running when kmail is started
noblacklist ${HOME}/.cache/kontact
noblacklist ${HOME}/.config/kontactrc
noblacklist ${HOME}/.config/kontact_summaryrc
noblacklist ${HOME}/.local/share/kontact
# restrict-namespaces
# Redirect
include kmail.profile

View file

@ -15,6 +15,9 @@ private-bin transmission-qt
#dbus-user.own com.transmissionbt.Transmission.*
#dbus-user.talk org.freedesktop.Notifications
# System tray support
?ALLOW_TRAY: dbus-user.talk org.kde.StatusNotifierWatcher
ignore memory-deny-write-execute
# Redirect

View file

@ -492,6 +492,7 @@ kmail
kmplayer
knotes
kodi
kontact
konversation
kopete
koreader