Open dumol opened 9 months ago
A solution for Ubuntu's Firefox inspired by https://askubuntu.com/a/1460014:
ln -s ~/.local/share/fonts ~/snap/firefox/current/.local/share/fonts
mv ~/snap/firefox/current/.config/fontconfig ~/snap/firefox/current/.config/fontconfig.orig
ln -s ~/.config/fontconfig ~/snap/firefox/current/.config/fontconfig
fc-cache -f -r
After running the above commands, restart Firefox.
It seems that Snap packages can't access hidden sub-directories from
$HOME
. This is especially a problem for latest Ubuntu releases, where Firefox is a Snap package that can only access non-hidden files and sub-directories from a user's home directory.