mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #7040] Firefox 147+ now uses XDG paths #3463
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#3463
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SkewedZeppelin on GitHub (Jan 22, 2026).
Original GitHub issue: https://github.com/netblue30/firejail/issues/7040
~/.mozilla is no longer used in favor of ~/.config/mozilla and ~/.cache/mozilla
I was going to make a PR for this of firefox-common.profile, but then I noticed all the additional non-browser profiles that reference ~/.mozilla and wanted to ask if we should re-evaulate those exceptions.
Also of note: Firefox doesn't appear to attempt migration of this directory just yet, but fresh installs/starts with Firejail current will be lost on close.
@rusty-snake commented on GitHub (Jan 22, 2026):
https://github.com/netblue30/firejail/discussions/6841#discussioncomment-15388051
@SkewedZeppelin commented on GitHub (Jan 22, 2026):
@rusty-snake thanks
TIL discussions don't show up in issue search tab even if you remove the
is:issuefilter.@netblue30 commented on GitHub (Jan 23, 2026):
From @lucasmz-dev - https://github.com/netblue30/firejail/discussions/6841#discussioncomment-15388051
That's easy, we've done it for some other programs as well:
We can add both ~/.config/mozilla and ~/./config/firefox. We'll clean them up later if necessary.
@kmk3 commented on GitHub (Feb 17, 2026):
To fix the immediate breakage on new installs, I created a PR to just add the
new dir everywhere that the old dir appears:
For the sake of maintenance, I agree that it would be better to avoid having to
copy these paths into profiles just so links can be opened in a web browser.
I think the following would be an improvement:
For firefox forks, leave the migration wizard comment (with the firefox paths)
as is.
For programs that only try to open the firefox executable directly (and do not
use
xdg-openor dbus), leave as is.If a program supports opening firefox (or URLs in general) through dbus, add
the relevant dbus entries and remove the firefox path entries.
This would better isolate firefox config/data from other programs, though it
would increase dependency on dbus.
Also, it would require checking each program to see if it can open firefox
through dbus or not.
Thoughts?
@kmk3 commented on GitHub (Feb 17, 2026):
Maybe only the following entries would be needed:
Or if
xdg-open/xdg-desktop-portalis used: