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/geary.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/geary.profile')
-rw-r--r-- | etc/profile-a-l/geary.profile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/etc/profile-a-l/geary.profile b/etc/profile-a-l/geary.profile index da240c36a..1303922c8 100644 --- a/etc/profile-a-l/geary.profile +++ b/etc/profile-a-l/geary.profile | |||
@@ -14,9 +14,9 @@ noblacklist ${HOME}/.config/geary | |||
14 | noblacklist ${HOME}/.local/share/evolution | 14 | noblacklist ${HOME}/.local/share/evolution |
15 | noblacklist ${HOME}/.local/share/geary | 15 | noblacklist ${HOME}/.local/share/geary |
16 | noblacklist ${HOME}/.local/share/pki | 16 | noblacklist ${HOME}/.local/share/pki |
17 | noblacklist ${HOME}/.mozilla | ||
18 | noblacklist ${HOME}/.pki | 17 | noblacklist ${HOME}/.pki |
19 | 18 | ||
19 | # sh is needed to allow Firefox to open links | ||
20 | include allow-bin-sh.inc | 20 | include allow-bin-sh.inc |
21 | 21 | ||
22 | include disable-common.inc | 22 | include disable-common.inc |
@@ -27,6 +27,12 @@ include disable-programs.inc | |||
27 | include disable-shell.inc | 27 | include disable-shell.inc |
28 | include disable-xdg.inc | 28 | include disable-xdg.inc |
29 | 29 | ||
30 | # The lines below are needed to find the default Firefox profile name, to allow | ||
31 | # opening links in an existing instance of Firefox (note that it still fails if | ||
32 | # there isn't a Firefox instance running with the default profile; see #5352) | ||
33 | noblacklist ${HOME}/.mozilla | ||
34 | whitelist ${HOME}/.mozilla/firefox/profiles.ini | ||
35 | |||
30 | mkdir ${HOME}/.cache/evolution | 36 | mkdir ${HOME}/.cache/evolution |
31 | mkdir ${HOME}/.cache/folks | 37 | mkdir ${HOME}/.cache/folks |
32 | mkdir ${HOME}/.cache/geary | 38 | mkdir ${HOME}/.cache/geary |
@@ -43,7 +49,6 @@ whitelist ${HOME}/.config/geary | |||
43 | whitelist ${HOME}/.local/share/evolution | 49 | whitelist ${HOME}/.local/share/evolution |
44 | whitelist ${HOME}/.local/share/geary | 50 | whitelist ${HOME}/.local/share/geary |
45 | whitelist ${HOME}/.local/share/pki | 51 | whitelist ${HOME}/.local/share/pki |
46 | whitelist ${HOME}/.mozilla/firefox/profiles.ini | ||
47 | whitelist ${HOME}/.pki | 52 | whitelist ${HOME}/.pki |
48 | whitelist /usr/share/geary | 53 | whitelist /usr/share/geary |
49 | include whitelist-common.inc | 54 | include whitelist-common.inc |
@@ -88,6 +93,7 @@ dbus-user.talk org.gnome.OnlineAccounts | |||
88 | dbus-user.talk org.gnome.evolution.dataserver.AddressBook10 | 93 | dbus-user.talk org.gnome.evolution.dataserver.AddressBook10 |
89 | dbus-user.talk org.gnome.evolution.dataserver.Sources5 | 94 | dbus-user.talk org.gnome.evolution.dataserver.Sources5 |
90 | ?ALLOW_TRAY: dbus-user.talk org.kde.StatusNotifierWatcher | 95 | ?ALLOW_TRAY: dbus-user.talk org.kde.StatusNotifierWatcher |
96 | # Allow D-Bus communication with Firefox for opening links | ||
91 | dbus-user.talk org.mozilla.* | 97 | dbus-user.talk org.mozilla.* |
92 | dbus-system none | 98 | dbus-system none |
93 | 99 | ||