aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z
diff options
context:
space:
mode:
Diffstat (limited to 'etc/profile-m-z')
-rw-r--r--etc/profile-m-z/signal-desktop.profile8
-rw-r--r--etc/profile-m-z/trojita.profile11
2 files changed, 12 insertions, 7 deletions
diff --git a/etc/profile-m-z/signal-desktop.profile b/etc/profile-m-z/signal-desktop.profile
index 3e1899ef3..8cb4e4173 100644
--- a/etc/profile-m-z/signal-desktop.profile
+++ b/etc/profile-m-z/signal-desktop.profile
@@ -11,7 +11,9 @@ ignore noexec /tmp
11 11
12noblacklist ${HOME}/.config/Signal 12noblacklist ${HOME}/.config/Signal
13 13
14# These lines are needed to allow Firefox to open links 14# The lines below are needed to find the default Firefox profile name, to allow
15# opening links in an existing instance of Firefox (note that it still fails if
16# there isn't a Firefox instance running with the default profile; see #5352)
15noblacklist ${HOME}/.mozilla 17noblacklist ${HOME}/.mozilla
16whitelist ${HOME}/.mozilla/firefox/profiles.ini 18whitelist ${HOME}/.mozilla/firefox/profiles.ini
17 19
@@ -21,11 +23,9 @@ whitelist ${HOME}/.config/Signal
21private-etc @tls-ca 23private-etc @tls-ca
22 24
23dbus-user filter 25dbus-user filter
24
25# allow D-Bus notifications 26# allow D-Bus notifications
26dbus-user.talk org.freedesktop.Notifications 27dbus-user.talk org.freedesktop.Notifications
27 28# allow D-Bus communication with firefox for opening links
28# allow D-Bus communication with Firefox browsers for opening links
29dbus-user.talk org.mozilla.* 29dbus-user.talk org.mozilla.*
30 30
31ignore dbus-user none 31ignore dbus-user none
diff --git a/etc/profile-m-z/trojita.profile b/etc/profile-m-z/trojita.profile
index ba68ccb53..2578eb0be 100644
--- a/etc/profile-m-z/trojita.profile
+++ b/etc/profile-m-z/trojita.profile
@@ -7,7 +7,6 @@ include trojita.local
7include globals.local 7include globals.local
8 8
9noblacklist ${HOME}/.abook 9noblacklist ${HOME}/.abook
10noblacklist ${HOME}/.mozilla
11noblacklist ${HOME}/.cache/flaska.net/trojita 10noblacklist ${HOME}/.cache/flaska.net/trojita
12noblacklist ${HOME}/.config/flaska.net 11noblacklist ${HOME}/.config/flaska.net
13 12
@@ -19,11 +18,16 @@ include disable-programs.inc
19include disable-shell.inc 18include disable-shell.inc
20include disable-xdg.inc 19include disable-xdg.inc
21 20
21# The lines below are needed to find the default Firefox profile name, to allow
22# opening links in an existing instance of Firefox (note that it still fails if
23# there isn't a Firefox instance running with the default profile; see #5352)
24noblacklist ${HOME}/.mozilla
25whitelist ${HOME}/.mozilla/firefox/profiles.ini
26
22mkdir ${HOME}/.abook 27mkdir ${HOME}/.abook
23mkdir ${HOME}/.cache/flaska.net/trojita 28mkdir ${HOME}/.cache/flaska.net/trojita
24mkdir ${HOME}/.config/flaska.net 29mkdir ${HOME}/.config/flaska.net
25whitelist ${HOME}/.abook 30whitelist ${HOME}/.abook
26whitelist ${HOME}/.mozilla/firefox/profiles.ini
27whitelist ${HOME}/.cache/flaska.net/trojita 31whitelist ${HOME}/.cache/flaska.net/trojita
28whitelist ${HOME}/.config/flaska.net 32whitelist ${HOME}/.config/flaska.net
29include whitelist-common.inc 33include whitelist-common.inc
@@ -49,7 +53,6 @@ seccomp
49tracelog 53tracelog
50 54
51# disable-mnt 55# disable-mnt
52# Add "ignore private-bin" for hyperlinks or have a look at the private-bins in firefox.profile and firefox-common.profile.
53private-bin trojita 56private-bin trojita
54private-cache 57private-cache
55private-dev 58private-dev
@@ -58,6 +61,8 @@ private-tmp
58 61
59dbus-user filter 62dbus-user filter
60dbus-user.talk org.freedesktop.secrets 63dbus-user.talk org.freedesktop.secrets
64# allow D-Bus communication with firefox for opening links
65dbus-user.talk org.mozilla.*
61dbus-system none 66dbus-system none
62 67
63restrict-namespaces 68restrict-namespaces