diff options
author | glitsj16 <glitsj16@users.noreply.github.com> | 2024-05-20 05:06:41 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-20 05:06:41 +0000 |
commit | ea104190df032d58ef564313fb97d5298104ec15 (patch) | |
tree | 3e27178b9d85e7123a2eae2aaf01464bc3f50e7d /etc/profile-m-z/zeal.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-m-z/zeal.profile')
-rw-r--r-- | etc/profile-m-z/zeal.profile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/etc/profile-m-z/zeal.profile b/etc/profile-m-z/zeal.profile index d576dbefd..f862bfce0 100644 --- a/etc/profile-m-z/zeal.profile +++ b/etc/profile-m-z/zeal.profile | |||
@@ -10,6 +10,9 @@ noblacklist ${HOME}/.cache/Zeal | |||
10 | noblacklist ${HOME}/.config/Zeal | 10 | noblacklist ${HOME}/.config/Zeal |
11 | noblacklist ${HOME}/.local/share/Zeal | 11 | noblacklist ${HOME}/.local/share/Zeal |
12 | 12 | ||
13 | # sh is needed to allow Firefox to open links | ||
14 | include allow-bin-sh.inc | ||
15 | |||
13 | include disable-common.inc | 16 | include disable-common.inc |
14 | include disable-devel.inc | 17 | include disable-devel.inc |
15 | include disable-exec.inc | 18 | include disable-exec.inc |
@@ -19,8 +22,9 @@ include disable-programs.inc | |||
19 | include disable-shell.inc | 22 | include disable-shell.inc |
20 | include disable-xdg.inc | 23 | include disable-xdg.inc |
21 | 24 | ||
22 | # Allow zeal to open links in Firefox browsers. | 25 | # The lines below are needed to find the default Firefox profile name, to allow |
23 | # This also requires dbus-user filtering (see below). | 26 | # opening links in an existing instance of Firefox (note that it still fails if |
27 | # there isn't a Firefox instance running with the default profile; see #5352) | ||
24 | noblacklist ${HOME}/.mozilla | 28 | noblacklist ${HOME}/.mozilla |
25 | whitelist ${HOME}/.mozilla/firefox/profiles.ini | 29 | whitelist ${HOME}/.mozilla/firefox/profiles.ini |
26 | 30 | ||
@@ -63,8 +67,9 @@ private-etc @tls-ca,@x11,host.conf,mime.types,rpc,services | |||
63 | private-tmp | 67 | private-tmp |
64 | 68 | ||
65 | dbus-user filter | 69 | dbus-user filter |
66 | dbus-user.talk org.mozilla.* | ||
67 | ?ALLOW_TRAY: dbus-user.talk org.kde.StatusNotifierWatcher | 70 | ?ALLOW_TRAY: dbus-user.talk org.kde.StatusNotifierWatcher |
71 | # Allow D-Bus communication with Firefox for opening links | ||
72 | dbus-user.talk org.mozilla.* | ||
68 | dbus-system none | 73 | dbus-system none |
69 | 74 | ||
70 | #memory-deny-write-execute # breaks on Arch | 75 | #memory-deny-write-execute # breaks on Arch |