From af73459c5c11bc5108914ea025b793ba563f656e Mon Sep 17 00:00:00 2001 From: bbhtt <62639087+bbhtt@users.noreply.github.com> Date: Mon, 28 Dec 2020 14:15:12 +0000 Subject: Add profiles for MS Edge dev build for Linux and Librewolf --- etc/inc/disable-programs.inc | 4 ++++ etc/profile-a-l/librewolf.profile | 28 ++++++++++++++++++++++++++++ etc/profile-m-z/microsoft-edge-dev.profile | 20 ++++++++++++++++++++ src/firecfg/firecfg.config | 2 ++ 4 files changed, 54 insertions(+) create mode 100644 etc/profile-a-l/librewolf.profile create mode 100644 etc/profile-m-z/microsoft-edge-dev.profile diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc index 07fefec8c..fe0f96857 100644 --- a/etc/inc/disable-programs.inc +++ b/etc/inc/disable-programs.inc @@ -308,6 +308,7 @@ blacklist ${HOME}/.config/meteo-qt blacklist ${HOME}/.config/menulibre.cfg blacklist ${HOME}/.config/mfusion blacklist ${HOME}/.config/Microsoft +blacklist ${HOME}/.config/microsoft-edge-dev blacklist ${HOME}/.config/midori blacklist ${HOME}/.config/mirage blacklist ${HOME}/.config/mono @@ -554,6 +555,7 @@ blacklist ${HOME}/.kino-history blacklist ${HOME}/.kinorc blacklist ${HOME}/.klatexformula blacklist ${HOME}/.kodi +blacklist ${HOME}/.librewolf blacklist ${HOME}/.lincity-ng blacklist ${HOME}/.links blacklist ${HOME}/.linphone-history.db @@ -940,9 +942,11 @@ blacklist ${HOME}/.cache/ksplashqml blacklist ${HOME}/.cache/kube blacklist ${HOME}/.cache/kwin blacklist ${HOME}/.cache/libgweather +blacklist ${HOME}/.cache/librewolf blacklist ${HOME}/.cache/liferea blacklist ${HOME}/.cache/lutris blacklist ${HOME}/.cache/Mendeley Ltd. +blacklist ${HOME}/.cache/microsoft-edge-dev blacklist ${HOME}/.cache/midori blacklist ${HOME}/.cache/minetest 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 @@ +# Firejail profile for Librewolf +# Description: Firefox fork based on privacy +# This file is overwritten after every install/update +# Persistent local customizations +include librewolf.local +# Persistent global definitions +include globals.local + +noblacklist ${HOME}/.cache/librewolf +noblacklist ${HOME}/.librewolf + +mkdir ${HOME}/.cache/librewolf +mkdir ${HOME}/.librewolf +whitelist ${HOME}/.cache/librewolf +whitelist ${HOME}/.librewolf + +# Uncomment (or add to librewolf.local) the following lines if you want to +# use the migration wizard. +#noblacklist ${HOME}/.mozilla +#whitelist ${HOME}/.mozilla + +# librewolf requires a shell to launch on Arch. We can possibly remove sh though. +#private-bin bash,dbus-launch,dbus-send,env,librewolf,python*,sh,which +# private-etc must first be enabled in firefox-common.profile +#private-etc librewolf + +# Redirect +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 @@ +# Firejail profile for Microsoft Edge Dev +# Description: Web browser from Microsoft,dev channel +# This file is overwritten after every install/update +# Persistent local customizations +include microsoft-edge-dev.local +# Persistent global definitions +include globals.local + +noblacklist ${HOME}/.cache/microsoft-edge-dev +noblacklist ${HOME}/.config/microsoft-edge-dev + +mkdir ${HOME}/.cache/microsoft-edge-dev +mkdir ${HOME}/.config/microsoft-edge-dev +whitelist ${HOME}/.cache/microsoft-edge-dev +whitelist ${HOME}/.config/microsoft-edge-dev + +private-opt microsoft + +# Redirect +include chromium-common.profile diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config index 3f1591cbd..457f297de 100644 --- a/src/firecfg/firecfg.config +++ b/src/firecfg/firecfg.config @@ -423,6 +423,7 @@ kwrite leafpad # less - breaks man libreoffice +librewolf liferea lightsoff lincity-ng @@ -473,6 +474,7 @@ mencoder mendeleydesktop menulibre meteo-qt +microsoft-edge-dev midori min mindless -- cgit v1.2.3-70-g09d2