diff options
author | 2024-05-20 05:06:41 +0000 | |
---|---|---|
committer | 2024-05-20 05:06:41 +0000 | |
commit | ea104190df032d58ef564313fb97d5298104ec15 (patch) | |
tree | 3e27178b9d85e7123a2eae2aaf01464bc3f50e7d /etc/profile-a-l/email-common.profile | |
parent | profiles: yelp: add Firefox URL open support (#6349) (diff) | |
download | firejail-ea104190df032d58ef564313fb97d5298104ec15.tar.gz firejail-ea104190df032d58ef564313fb97d5298104ec15.tar.zst firejail-ea104190df032d58ef564313fb97d5298104ec15.zip |
profiles: streamline Firefox URL opening support (#6348)
Changes:
* Improve Firefox D-Bus comment
* Add missing/standardize related comments
* Include allow-bin-sh.inc in relevant profiles
* Use Firefox URL open section in relevant profiles
Diffstat (limited to 'etc/profile-a-l/email-common.profile')
-rw-r--r-- | etc/profile-a-l/email-common.profile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/etc/profile-a-l/email-common.profile b/etc/profile-a-l/email-common.profile index cffa85fd5..2929d6a75 100644 --- a/etc/profile-a-l/email-common.profile +++ b/etc/profile-a-l/email-common.profile | |||
@@ -10,7 +10,6 @@ include email-common.local | |||
10 | noblacklist ${HOME}/.bogofilter | 10 | noblacklist ${HOME}/.bogofilter |
11 | noblacklist ${HOME}/.bsfilter | 11 | noblacklist ${HOME}/.bsfilter |
12 | noblacklist ${HOME}/.gnupg | 12 | noblacklist ${HOME}/.gnupg |
13 | noblacklist ${HOME}/.mozilla | ||
14 | noblacklist ${HOME}/.signature | 13 | noblacklist ${HOME}/.signature |
15 | # when storing mail outside the default ${HOME}/Mail path, 'noblacklist' the custom path in your email-common.local | 14 | # when storing mail outside the default ${HOME}/Mail path, 'noblacklist' the custom path in your email-common.local |
16 | # and 'blacklist' it in your disable-common.local too so it is kept hidden from other applications | 15 | # and 'blacklist' it in your disable-common.local too so it is kept hidden from other applications |
@@ -31,6 +30,12 @@ include disable-interpreters.inc | |||
31 | include disable-programs.inc | 30 | include disable-programs.inc |
32 | include disable-xdg.inc | 31 | include disable-xdg.inc |
33 | 32 | ||
33 | # The lines below are needed to find the default Firefox profile name, to allow | ||
34 | # opening links in an existing instance of Firefox (note that it still fails if | ||
35 | # there isn't a Firefox instance running with the default profile; see #5352) | ||
36 | noblacklist ${HOME}/.mozilla | ||
37 | whitelist ${HOME}/.mozilla/firefox/profiles.ini | ||
38 | |||
34 | mkdir ${HOME}/.gnupg | 39 | mkdir ${HOME}/.gnupg |
35 | mkfile ${HOME}/.config/mimeapps.list | 40 | mkfile ${HOME}/.config/mimeapps.list |
36 | mkfile ${HOME}/.signature | 41 | mkfile ${HOME}/.signature |
@@ -38,7 +43,6 @@ whitelist ${HOME}/.bogofilter | |||
38 | whitelist ${HOME}/.bsfilter | 43 | whitelist ${HOME}/.bsfilter |
39 | whitelist ${HOME}/.config/mimeapps.list | 44 | whitelist ${HOME}/.config/mimeapps.list |
40 | whitelist ${HOME}/.gnupg | 45 | whitelist ${HOME}/.gnupg |
41 | whitelist ${HOME}/.mozilla/firefox/profiles.ini | ||
42 | whitelist ${HOME}/.signature | 46 | whitelist ${HOME}/.signature |
43 | whitelist ${DOCUMENTS} | 47 | whitelist ${DOCUMENTS} |
44 | whitelist ${DOWNLOADS} | 48 | whitelist ${DOWNLOADS} |
@@ -90,6 +94,7 @@ dbus-user.talk org.freedesktop.Notifications | |||
90 | dbus-user.talk org.freedesktop.secrets | 94 | dbus-user.talk org.freedesktop.secrets |
91 | dbus-user.talk org.gnome.keyring.* | 95 | dbus-user.talk org.gnome.keyring.* |
92 | dbus-user.talk org.gnome.seahorse.* | 96 | dbus-user.talk org.gnome.seahorse.* |
97 | # Allow D-Bus communication with Firefox for opening links | ||
93 | dbus-user.talk org.mozilla.* | 98 | dbus-user.talk org.mozilla.* |
94 | dbus-system none | 99 | dbus-system none |
95 | 100 | ||