diff options
author | Reiner Herrmann <reiner@reiner-h.de> | 2020-12-30 00:04:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-30 00:04:47 +0100 |
commit | ebe06230faab12807e881940a06ab6520f7fad26 (patch) | |
tree | 2d6fcbb27d7f5ac7fa92ac3fd01313edceaa5590 | |
parent | Merge pull request #3847 from bbhtt/small_fixes (diff) | |
parent | Merge branch 'master' into browsers (diff) | |
download | firejail-ebe06230faab12807e881940a06ab6520f7fad26.tar.gz firejail-ebe06230faab12807e881940a06ab6520f7fad26.tar.zst firejail-ebe06230faab12807e881940a06ab6520f7fad26.zip |
Merge pull request #3848 from bbhtt/browsers
Add profiles for MS Edge dev build for Linux and Librewolf
-rw-r--r-- | etc/inc/disable-programs.inc | 4 | ||||
-rw-r--r-- | etc/profile-a-l/librewolf.profile | 28 | ||||
-rw-r--r-- | etc/profile-m-z/microsoft-edge-dev.profile | 20 | ||||
-rw-r--r-- | etc/profile-m-z/microsoft-edge.profile | 11 | ||||
-rw-r--r-- | src/firecfg/firecfg.config | 3 |
5 files changed, 66 insertions, 0 deletions
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc index 961437ad7..7ab11e620 100644 --- a/etc/inc/disable-programs.inc +++ b/etc/inc/disable-programs.inc | |||
@@ -309,6 +309,7 @@ blacklist ${HOME}/.config/meteo-qt | |||
309 | blacklist ${HOME}/.config/menulibre.cfg | 309 | blacklist ${HOME}/.config/menulibre.cfg |
310 | blacklist ${HOME}/.config/mfusion | 310 | blacklist ${HOME}/.config/mfusion |
311 | blacklist ${HOME}/.config/Microsoft | 311 | blacklist ${HOME}/.config/Microsoft |
312 | blacklist ${HOME}/.config/microsoft-edge-dev | ||
312 | blacklist ${HOME}/.config/midori | 313 | blacklist ${HOME}/.config/midori |
313 | blacklist ${HOME}/.config/mirage | 314 | blacklist ${HOME}/.config/mirage |
314 | blacklist ${HOME}/.config/mono | 315 | blacklist ${HOME}/.config/mono |
@@ -555,6 +556,7 @@ blacklist ${HOME}/.kino-history | |||
555 | blacklist ${HOME}/.kinorc | 556 | blacklist ${HOME}/.kinorc |
556 | blacklist ${HOME}/.klatexformula | 557 | blacklist ${HOME}/.klatexformula |
557 | blacklist ${HOME}/.kodi | 558 | blacklist ${HOME}/.kodi |
559 | blacklist ${HOME}/.librewolf | ||
558 | blacklist ${HOME}/.lincity-ng | 560 | blacklist ${HOME}/.lincity-ng |
559 | blacklist ${HOME}/.links | 561 | blacklist ${HOME}/.links |
560 | blacklist ${HOME}/.linphone-history.db | 562 | blacklist ${HOME}/.linphone-history.db |
@@ -942,10 +944,12 @@ blacklist ${HOME}/.cache/ksplashqml | |||
942 | blacklist ${HOME}/.cache/kube | 944 | blacklist ${HOME}/.cache/kube |
943 | blacklist ${HOME}/.cache/kwin | 945 | blacklist ${HOME}/.cache/kwin |
944 | blacklist ${HOME}/.cache/libgweather | 946 | blacklist ${HOME}/.cache/libgweather |
947 | blacklist ${HOME}/.cache/librewolf | ||
945 | blacklist ${HOME}/.cache/liferea | 948 | blacklist ${HOME}/.cache/liferea |
946 | blacklist ${HOME}/.cache/lutris | 949 | blacklist ${HOME}/.cache/lutris |
947 | blacklist ${HOME}/.cache/Mendeley Ltd. | 950 | blacklist ${HOME}/.cache/Mendeley Ltd. |
948 | blacklist ${HOME}/.cache/matrix-mirage | 951 | blacklist ${HOME}/.cache/matrix-mirage |
952 | blacklist ${HOME}/.cache/microsoft-edge-dev | ||
949 | blacklist ${HOME}/.cache/midori | 953 | blacklist ${HOME}/.cache/midori |
950 | blacklist ${HOME}/.cache/minetest | 954 | blacklist ${HOME}/.cache/minetest |
951 | blacklist ${HOME}/.cache/mirage | 955 | blacklist ${HOME}/.cache/mirage |
diff --git a/etc/profile-a-l/librewolf.profile b/etc/profile-a-l/librewolf.profile new file mode 100644 index 000000000..5208cb979 --- /dev/null +++ b/etc/profile-a-l/librewolf.profile | |||
@@ -0,0 +1,28 @@ | |||
1 | # Firejail profile for Librewolf | ||
2 | # Description: Firefox fork based on privacy | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include librewolf.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${HOME}/.cache/librewolf | ||
10 | noblacklist ${HOME}/.librewolf | ||
11 | |||
12 | mkdir ${HOME}/.cache/librewolf | ||
13 | mkdir ${HOME}/.librewolf | ||
14 | whitelist ${HOME}/.cache/librewolf | ||
15 | whitelist ${HOME}/.librewolf | ||
16 | |||
17 | # Uncomment (or add to librewolf.local) the following lines if you want to | ||
18 | # use the migration wizard. | ||
19 | #noblacklist ${HOME}/.mozilla | ||
20 | #whitelist ${HOME}/.mozilla | ||
21 | |||
22 | # librewolf requires a shell to launch on Arch. We can possibly remove sh though. | ||
23 | #private-bin bash,dbus-launch,dbus-send,env,librewolf,python*,sh,which | ||
24 | # private-etc must first be enabled in firefox-common.profile | ||
25 | #private-etc librewolf | ||
26 | |||
27 | # Redirect | ||
28 | include firefox-common.profile | ||
diff --git a/etc/profile-m-z/microsoft-edge-dev.profile b/etc/profile-m-z/microsoft-edge-dev.profile new file mode 100644 index 000000000..039cd36a8 --- /dev/null +++ b/etc/profile-m-z/microsoft-edge-dev.profile | |||
@@ -0,0 +1,20 @@ | |||
1 | # Firejail profile for Microsoft Edge Dev | ||
2 | # Description: Web browser from Microsoft,dev channel | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include microsoft-edge-dev.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${HOME}/.cache/microsoft-edge-dev | ||
10 | noblacklist ${HOME}/.config/microsoft-edge-dev | ||
11 | |||
12 | mkdir ${HOME}/.cache/microsoft-edge-dev | ||
13 | mkdir ${HOME}/.config/microsoft-edge-dev | ||
14 | whitelist ${HOME}/.cache/microsoft-edge-dev | ||
15 | whitelist ${HOME}/.config/microsoft-edge-dev | ||
16 | |||
17 | private-opt microsoft | ||
18 | |||
19 | # Redirect | ||
20 | include chromium-common.profile | ||
diff --git a/etc/profile-m-z/microsoft-edge.profile b/etc/profile-m-z/microsoft-edge.profile new file mode 100644 index 000000000..f427507d1 --- /dev/null +++ b/etc/profile-m-z/microsoft-edge.profile | |||
@@ -0,0 +1,11 @@ | |||
1 | # Firejail profile for Microsoft Edge | ||
2 | # Description: Web browser from Microsoft | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include microsoft-edge.local | ||
6 | # Persistent global definitions | ||
7 | # added by included profile | ||
8 | #include globals.local | ||
9 | |||
10 | # Redirect | ||
11 | include microsoft-edge-dev.profile | ||
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config index 74264b91a..23b1e364a 100644 --- a/src/firecfg/firecfg.config +++ b/src/firecfg/firecfg.config | |||
@@ -423,6 +423,7 @@ kwrite | |||
423 | leafpad | 423 | leafpad |
424 | # less - breaks man | 424 | # less - breaks man |
425 | libreoffice | 425 | libreoffice |
426 | librewolf | ||
426 | liferea | 427 | liferea |
427 | lightsoff | 428 | lightsoff |
428 | lincity-ng | 429 | lincity-ng |
@@ -474,6 +475,8 @@ mencoder | |||
474 | mendeleydesktop | 475 | mendeleydesktop |
475 | menulibre | 476 | menulibre |
476 | meteo-qt | 477 | meteo-qt |
478 | microsoft-edge | ||
479 | microsoft-edge-dev | ||
477 | midori | 480 | midori |
478 | min | 481 | min |
479 | mindless | 482 | mindless |