aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-a-l/geary.profile
diff options
context:
space:
mode:
authorLibravatar glitsj16 <glitsj16@users.noreply.github.com>2024-05-20 05:06:41 +0000
committerLibravatar GitHub <noreply@github.com>2024-05-20 05:06:41 +0000
commitea104190df032d58ef564313fb97d5298104ec15 (patch)
tree3e27178b9d85e7123a2eae2aaf01464bc3f50e7d /etc/profile-a-l/geary.profile
parentprofiles: yelp: add Firefox URL open support (#6349) (diff)
downloadfirejail-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.profile10
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
14noblacklist ${HOME}/.local/share/evolution 14noblacklist ${HOME}/.local/share/evolution
15noblacklist ${HOME}/.local/share/geary 15noblacklist ${HOME}/.local/share/geary
16noblacklist ${HOME}/.local/share/pki 16noblacklist ${HOME}/.local/share/pki
17noblacklist ${HOME}/.mozilla
18noblacklist ${HOME}/.pki 17noblacklist ${HOME}/.pki
19 18
19# sh is needed to allow Firefox to open links
20include allow-bin-sh.inc 20include allow-bin-sh.inc
21 21
22include disable-common.inc 22include disable-common.inc
@@ -27,6 +27,12 @@ include disable-programs.inc
27include disable-shell.inc 27include disable-shell.inc
28include disable-xdg.inc 28include 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)
33noblacklist ${HOME}/.mozilla
34whitelist ${HOME}/.mozilla/firefox/profiles.ini
35
30mkdir ${HOME}/.cache/evolution 36mkdir ${HOME}/.cache/evolution
31mkdir ${HOME}/.cache/folks 37mkdir ${HOME}/.cache/folks
32mkdir ${HOME}/.cache/geary 38mkdir ${HOME}/.cache/geary
@@ -43,7 +49,6 @@ whitelist ${HOME}/.config/geary
43whitelist ${HOME}/.local/share/evolution 49whitelist ${HOME}/.local/share/evolution
44whitelist ${HOME}/.local/share/geary 50whitelist ${HOME}/.local/share/geary
45whitelist ${HOME}/.local/share/pki 51whitelist ${HOME}/.local/share/pki
46whitelist ${HOME}/.mozilla/firefox/profiles.ini
47whitelist ${HOME}/.pki 52whitelist ${HOME}/.pki
48whitelist /usr/share/geary 53whitelist /usr/share/geary
49include whitelist-common.inc 54include whitelist-common.inc
@@ -88,6 +93,7 @@ dbus-user.talk org.gnome.OnlineAccounts
88dbus-user.talk org.gnome.evolution.dataserver.AddressBook10 93dbus-user.talk org.gnome.evolution.dataserver.AddressBook10
89dbus-user.talk org.gnome.evolution.dataserver.Sources5 94dbus-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
91dbus-user.talk org.mozilla.* 97dbus-user.talk org.mozilla.*
92dbus-system none 98dbus-system none
93 99