From ea104190df032d58ef564313fb97d5298104ec15 Mon Sep 17 00:00:00 2001 From: glitsj16 Date: Mon, 20 May 2024 05:06:41 +0000 Subject: 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 --- etc/profile-a-l/email-common.profile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'etc/profile-a-l/email-common.profile') 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 noblacklist ${HOME}/.bogofilter noblacklist ${HOME}/.bsfilter noblacklist ${HOME}/.gnupg -noblacklist ${HOME}/.mozilla noblacklist ${HOME}/.signature # when storing mail outside the default ${HOME}/Mail path, 'noblacklist' the custom path in your email-common.local # 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 include disable-programs.inc include disable-xdg.inc +# The lines below are needed to find the default Firefox profile name, to allow +# opening links in an existing instance of Firefox (note that it still fails if +# there isn't a Firefox instance running with the default profile; see #5352) +noblacklist ${HOME}/.mozilla +whitelist ${HOME}/.mozilla/firefox/profiles.ini + mkdir ${HOME}/.gnupg mkfile ${HOME}/.config/mimeapps.list mkfile ${HOME}/.signature @@ -38,7 +43,6 @@ whitelist ${HOME}/.bogofilter whitelist ${HOME}/.bsfilter whitelist ${HOME}/.config/mimeapps.list whitelist ${HOME}/.gnupg -whitelist ${HOME}/.mozilla/firefox/profiles.ini whitelist ${HOME}/.signature whitelist ${DOCUMENTS} whitelist ${DOWNLOADS} @@ -90,6 +94,7 @@ dbus-user.talk org.freedesktop.Notifications dbus-user.talk org.freedesktop.secrets dbus-user.talk org.gnome.keyring.* dbus-user.talk org.gnome.seahorse.* +# Allow D-Bus communication with Firefox for opening links dbus-user.talk org.mozilla.* dbus-system none -- cgit v1.2.3-54-g00ecf