mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #6967] librewolf: program does not load system fonts properly #3437
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#3437
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 @aschwarzusp on GitHub (Nov 12, 2025).
Original GitHub issue: https://github.com/netblue30/firejail/issues/6967
Description
Firejailed apps cannot load system font configs properly, load the first in alphabetical order from the fonts folders.
This affects at least Librewolf and Telegram-Desktop. Highly likely to affect Firefox as well, because fj profiles for LW and FF are similar.
I tried copying librewolf profile to my home dir and whitelisting (and noblacklisting) /etc/fonts (and /etc/fonts/fonts.d and /etc/fonts/fonts.avail), but this does not make any difference.
Steps to Reproduce
firejail librewolf(this also affects open file dialog on Librewolf and Telegram-Desktop)Expected behavior
Librewolf using usual system fonts for menus, toolbars and plainly configured websites instead of that js font.
Everything is displayed fine if LW/Telegram-desktop are launched without firejail.
Actual behavior
Messed fonts in menus, toolbars, etc.
Behavior without a profile
Haven't tested without profile, but everything works fine without firejail.
Checklist
/usr/bin/vlc) "fixes" it).https://github.com/netblue30/firejail/issues/1139)browser-allow-drm yes/browser-disable-u2f noinfirejail.configto allow DRM/U2F in browsers.Log
Output of
LC_ALL=C firejail /path/to/programWill add this later. Cannot log into github from home right now where I can run those commands.
Output of
LC_ALL=C firejail --debug /path/to/program@aschwarzusp commented on GitHub (Nov 13, 2025):
Solved by changing
private-etc librewolftoprivate-etc librewolf,fonts/conf.d,fonts/conf.availon the Librewolf profile.@kmk3 commented on GitHub (Nov 14, 2025):
This should not be necessary as
fontsis already part of the@defaultprivate-etcgroup (and thus included automatically).So unless you are manually whitelisting something inside of
fonts(likeprivate-etc fonts/foo), this should not be necessary.@aschwarzusp commented on GitHub (Nov 14, 2025):
That is indeed the case.
conf.availandconf.dare subdirectories of /etc/fonts, and the/etc/fonts.conffile include/import files inside them. If those subdirectories are not included in the private environment, this error occurs.