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

profiles: fix misc in kmail and transmission-qt & add kontact.profile #5905

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
5 changes: 4 additions & 1 deletion etc/profile-a-l/kmail.profile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ nogroups
noinput
nonewprivs
noroot
nosound
notv
nou2f
novideo
Expand All @@ -63,4 +62,8 @@ private-dev
# writable-run-user is needed for signing and encrypting emails
writable-run-user

# to enable desktop notifications, add these commented lines to your kmail.local file
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
# to enable desktop notifications, add these commented lines to your kmail.local file
# To harden kmail.profile, add the following lines to your kmail.local file

#dbus-user.talk org.freedesktop.Notifications
#dbus-user filter
Comment on lines +66 to +67
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
#dbus-user.talk org.freedesktop.Notifications
#dbus-user filter
#dbus-user filter
#dbus-user.talk org.freedesktop.Notifications


# restrict-namespaces
20 changes: 20 additions & 0 deletions etc/profile-a-l/kontact.profile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Firejail profile for kontact
Sadoon-AlBader marked this conversation as resolved.
Show resolved Hide resolved
# Description: Personal information manager
# This file is overwritten after every install/update
# Persistent local customizations
include kontact.local
# Persistent global definitions
include globals.local
Copy link
Collaborator

Choose a reason for hiding this comment

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

globals.local is included twice. Thee redirect_alias template or other redirection profiles.


# 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
Comment on lines +12 to +15
Copy link
Collaborator

Choose a reason for hiding this comment

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

Never blacklisted.


# restrict-namespaces

# Redirect
include kmail.profile
3 changes: 3 additions & 0 deletions etc/profile-m-z/transmission-qt.profile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ private-bin transmission-qt
#dbus-user.own com.transmissionbt.Transmission.*
#dbus-user.talk org.freedesktop.Notifications

# System tray support
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
# System tray support
# For system tray support, add the next 2 lines to your transmission-qt.local.
#ignore dbus-user none
#dbus-user filter

?ALLOW_TRAY: dbus-user.talk org.kde.StatusNotifierWatcher

ignore memory-deny-write-execute

# Redirect
Expand Down
1 change: 1 addition & 0 deletions src/firecfg/firecfg.config
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,7 @@ kmail
kmplayer
knotes
kodi
kontact
konversation
kopete
krita
Expand Down