aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-a-l/firefox.profile
diff options
context:
space:
mode:
Diffstat (limited to 'etc/profile-a-l/firefox.profile')
-rw-r--r--etc/profile-a-l/firefox.profile25
1 files changed, 14 insertions, 11 deletions
diff --git a/etc/profile-a-l/firefox.profile b/etc/profile-a-l/firefox.profile
index b22a78458..8acfe7c2a 100644
--- a/etc/profile-a-l/firefox.profile
+++ b/etc/profile-a-l/firefox.profile
@@ -14,25 +14,27 @@ include globals.local
14# https://github.com/netblue30/firejail/wiki/Frequently-Asked-Questions#how-do-i-run-two-instances-of-firefox 14# https://github.com/netblue30/firejail/wiki/Frequently-Asked-Questions#how-do-i-run-two-instances-of-firefox
15# https://github.com/netblue30/firejail/issues/4206#issuecomment-824806968 15# https://github.com/netblue30/firejail/issues/4206#issuecomment-824806968
16 16
17noblacklist ${HOME}/.cache/mozilla 17nodeny ${HOME}/.cache/mozilla
18noblacklist ${HOME}/.mozilla 18nodeny ${HOME}/.mozilla
19
20deny /usr/libexec
19 21
20mkdir ${HOME}/.cache/mozilla/firefox 22mkdir ${HOME}/.cache/mozilla/firefox
21mkdir ${HOME}/.mozilla 23mkdir ${HOME}/.mozilla
22whitelist ${HOME}/.cache/mozilla/firefox 24allow ${HOME}/.cache/mozilla/firefox
23whitelist ${HOME}/.mozilla 25allow ${HOME}/.mozilla
24 26
25# Add one of the following whitelist options to your firefox.local to enable KeePassXC Plugin support. 27# Add one of the following whitelist options to your firefox.local to enable KeePassXC Plugin support.
26# NOTE: start KeePassXC before Firefox and keep it open to allow communication between them. 28# NOTE: start KeePassXC before Firefox and keep it open to allow communication between them.
27#whitelist ${RUNUSER}/kpxc_server 29#whitelist ${RUNUSER}/kpxc_server
28#whitelist ${RUNUSER}/org.keepassxc.KeePassXC.BrowserServer 30#whitelist ${RUNUSER}/org.keepassxc.KeePassXC.BrowserServer
29 31
30whitelist /usr/share/doc 32allow /usr/share/doc
31whitelist /usr/share/firefox 33allow /usr/share/firefox
32whitelist /usr/share/gnome-shell/search-providers/firefox-search-provider.ini 34allow /usr/share/gnome-shell/search-providers/firefox-search-provider.ini
33whitelist /usr/share/gtk-doc/html 35allow /usr/share/gtk-doc/html
34whitelist /usr/share/mozilla 36allow /usr/share/mozilla
35whitelist /usr/share/webext 37allow /usr/share/webext
36include whitelist-usr-share-common.inc 38include whitelist-usr-share-common.inc
37 39
38# firefox requires a shell to launch on Arch - add the next line to your firefox.local to enable private-bin. 40# firefox requires a shell to launch on Arch - add the next line to your firefox.local to enable private-bin.
@@ -54,8 +56,9 @@ dbus-user.own org.mpris.MediaPlayer2.firefox.*
54#dbus-user.own org.mpris.MediaPlayer2.plasma-browser-integration 56#dbus-user.own org.mpris.MediaPlayer2.plasma-browser-integration
55#dbus-user.talk org.kde.JobViewServer 57#dbus-user.talk org.kde.JobViewServer
56#dbus-user.talk org.kde.kuiserver 58#dbus-user.talk org.kde.kuiserver
57# Add the next two lines to your firefox.local to allow screen sharing under wayland. 59# Add the next three lines to your firefox.local to allow screen sharing under wayland.
58#whitelist ${RUNUSER}/pipewire-0 60#whitelist ${RUNUSER}/pipewire-0
61#whitelist /usr/share/pipewire/client.conf
59#dbus-user.talk org.freedesktop.portal.* 62#dbus-user.talk org.freedesktop.portal.*
60# Add the next line to your firefox.local if screen sharing sharing still does not work 63# Add the next line to your firefox.local if screen sharing sharing still does not work
61# with the above lines (might depend on the portal implementation). 64# with the above lines (might depend on the portal implementation).