summaryrefslogtreecommitdiff
path: root/.config/firejail/firefox.profile
diff options
context:
space:
mode:
authorSam Chudnick <sam@chudnick.com>2022-06-16 21:27:02 -0400
committerSam Chudnick <sam@chudnick.com>2022-06-16 21:27:02 -0400
commit3c1666bd4791467e11b53b843e062b2122c59b33 (patch)
tree7a9dabc4199e4cb31e27440a1dd796bdabc8f6a5 /.config/firejail/firefox.profile
parentc090ce58a2fd1edfbdefd756e18bf2f2296d8a4a (diff)
Added customizations for several firejail profiles
Configured local customizations for several firejail profiles. Whitelisted non-standard paths needed for firefox and newsboat. Blacklisted non-standard password manager paths.
Diffstat (limited to '.config/firejail/firefox.profile')
-rw-r--r--.config/firejail/firefox.profile51
1 files changed, 51 insertions, 0 deletions
diff --git a/.config/firejail/firefox.profile b/.config/firejail/firefox.profile
new file mode 100644
index 0000000..158cf24
--- /dev/null
+++ b/.config/firejail/firefox.profile
@@ -0,0 +1,51 @@
1# Firejail profile for firefox
2# Description: Safe and easy web browser from Mozilla
3# This file is overwritten after every install/update
4# Persistent local customizations
5include firefox.local
6# Persistent global definitions
7include globals.local
8
9name firefox
10
11noblacklist ${HOME}/.cache/mozilla
12noblacklist ${HOME}/.mozilla
13
14mkdir ${HOME}/.cache/mozilla/firefox
15mkdir ${HOME}/.mozilla
16whitelist ${HOME}/.cache/mozilla/firefox
17whitelist ${HOME}/.mozilla
18
19whitelist /usr/share/doc
20whitelist /usr/share/firefox
21whitelist /usr/share/gnome-shell/search-providers/firefox-search-provider.ini
22whitelist /usr/share/gtk-doc/html
23whitelist /usr/share/mozilla
24whitelist /usr/share/webext
25whitelist ${HOME}/repos/website
26whitelist ${HOME}/documents/local_webpages/
27include whitelist-usr-share-common.inc
28
29# firefox requires a shell to launch on Arch.
30#private-bin bash,dbus-launch,dbus-send,env,firefox,sh,which
31# Fedora use shell scripts to launch firefox, at least this is required
32#private-bin basename,bash,cat,dirname,expr,false,firefox,firefox-wayland,getenforce,ln,mkdir,pidof,restorecon,rm,rmdir,sed,sh,tclsh,true,uname
33# private-etc must first be enabled in firefox-common.profile
34#private-etc firefox
35
36dbus-user filter
37dbus-user.own org.mozilla.Firefox.*
38dbus-user.own org.mozilla.firefox.*
39dbus-user.own org.mpris.MediaPlayer2.firefox.*
40# Uncomment or put in your firefox.local to enable native notifications.
41#dbus-user.talk org.freedesktop.Notifications
42# Uncomment or put in your firefox.local to allow to inhibit screensavers
43#dbus-user.talk org.freedesktop.ScreenSaver
44# Uncomment or put in your firefox.local for plasma browser integration
45#dbus-user.own org.mpris.MediaPlayer2.plasma-browser-integration
46#dbus-user.talk org.kde.JobViewServer
47#dbus-user.talk org.kde.kuiserver
48ignore dbus-user none
49
50# Redirect
51include firefox-common.profile