mirror of
https://github.com/flatpak/flatpak.git
synced 2026-10-09 14:42:03 -04:00
run: Generate /run/host/font-dirs.xml config file
This file lists the directories that are remapped in the sandbox, allowing fontconfig to use the correct cache identifier for the host-side caches. As an example, this generates: ``` $ ./flatpak run --command=sh org.gnome.gedit [📦 org.gnome.gedit flatpak]$ cat /run/host/font-dirs.xml <?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <remap-dir as-path="/usr/share/fonts">/run/host/fonts</remap-dir> <remap-dir as-path="/home/alex/.fonts">/run/host/user-fonts</remap-dir> </fontconfig> ``` Closes: #2635 Approved by: alexlarsson
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-477-g8b6ad49a5f