mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
Default directories in Firefox 146 and earlier:
* ~/.cache/mozilla # cache files
* ~/.mozilla # config and data
In Firefox 147[1]:
* ~/.cache/mozilla # cache files
* ~/.config/mozilla # config and data
Note that the new location apparently contains the same files as in the
former location (including settings, bookmarks, extensions, etc).
That is, even though the new directory resides in `$XDG_CONFIG_HOME` /
~/.config, it is not solely used for program configuration as described
in the XDG Base Directory specification[2] and `$XDG_DATA_HOME` /
~/.local/share/mozilla is seemingly not used at all (see also the
discussion in the bug tracker[3]).
Commands used to search and replace:
$ perl -pi -e 's/(.* )(\${HOME}\/\.mozilla)(.*)/$1\${HOME}\/.config\/mozilla$3\n$1$2$3/' \
-- \
etc/inc/*.inc \
etc/profile*/*.profile \
Note: The entries in the following profiles were sorted manually:
* etc/inc/disable-common.inc
* etc/inc/disable-programs.inc
* etc/profile-a-l/keepassxc.profile
* etc/profile-a-l/krunner.profile
* etc/profile-m-z/seamonkey.profile
Relates to #7040.
[1] https://www.firefox.com/en-US/firefox/147.0/releasenotes/
[2] https://specifications.freedesktop.org/basedir/latest/
[3] https://bugzilla.mozilla.org/show_bug.cgi?id=259356
29 lines
974 B
Text
29 lines
974 B
Text
# Firejail profile for FireDragon
|
|
# Description: Librewolf fork with enhanced KDE integration
|
|
# This file is overwritten after every install/update
|
|
# Persistent local customizations
|
|
include firedragon.local
|
|
# Persistent global definitions
|
|
include globals.local
|
|
|
|
noblacklist ${HOME}/.cache/firedragon
|
|
noblacklist ${HOME}/.firedragon
|
|
|
|
mkdir ${HOME}/.cache/firedragon
|
|
mkdir ${HOME}/.firedragon
|
|
whitelist ${HOME}/.cache/firedragon
|
|
whitelist ${HOME}/.firedragon
|
|
whitelist /usr/share/firedragon
|
|
|
|
# Add the next lines to your firedragon.local if you want to use the migration wizard.
|
|
#noblacklist ${HOME}/.config/mozilla
|
|
#noblacklist ${HOME}/.mozilla
|
|
#whitelist ${HOME}/.config/mozilla
|
|
#whitelist ${HOME}/.mozilla
|
|
|
|
# FireDragon requires a shell to launch on Arch. We can possibly remove sh though.
|
|
# Add the next line to your firedragon.local to enable private-bin.
|
|
#private-bin bash,dbus-launch,dbus-send,env,firedragon,python*,sh,which
|
|
|
|
# Redirect
|
|
include firefox-common.profile
|