No fonts loaded when attempting to open vault in Kubuntu 20.04

Steps to reproduce

  • Install the 0.12.3 Snap on Kubuntu 20.04.
  • Click ‘Open folder as vault’
  • Observe lack of font rendering in loaded dialog.

Expected result

  • A fallback font would load and render in the GTK dialog.

Actual result

  • No proper font is loaded so all glyphs are rectangles.


  • Operating system: Kubuntu 20.04
  • Obsidian version: 0.12.3 Snap

Additional information

1 Like

That is correct, it is the default GTK file opener dialog.

In that thread, there is a solution.
It seems like a common problem to snaps.

1 Like

Cool, thank you for that link, I will try it and report back. I used the AppImage first but it doesn’t seem to support the obsidian:// links (which I would expect).

Unfortunately the issue is back after opening and closing Obsidian and running this:

rm -rf ~/.cache/fontconfig
sudo fc-cache -r -v
rm -rf ~/snap/obsidian/common/.cache/fontconfig

The Snap works for obsidian:// links out of the box for me, which is nice. Other apps that use the default file open dialog (like Textadept) display the fonts, so I don’t think this is because of missing packages …

I’m going to try some more workarounds and report back.

Okay, this seems to work:

sudo rm /var/cache/fontconfig/*
rm ~/.cache/fontconfig/*
sudo fc-cache -r -v
find ~/snap -type d -name 'fontconfig' -exec rm -rf {} \;