Re: FcConfigEnableHome results in a lot of error messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jan 30, 2022 at 3:21 AM Jerry Casiano <jerrycasiano@xxxxxxxxx> wrote:
>
> Calling FcConfigEnableHome outputs a lot of error messages.
>
> Fontconfig error: No writable cache directories
>
> Is printed repeatedly.
>
> This wasn't the case previously, I'm wondering if this is a regression and I should file a report or if this might be caused by misuse on my part?

I don't think we have changed anything around it. But I'm not even
surprised you saw that error message. That is expected and likely to
happen when you disable home. If caches are outdated, fontconfig will
be going to update caches at the runtime. but you don't have any
permissions to write caches, in this case.

> Is there something I can do to prevent this?

To avoid this situation, you may want to update caches with
appropriate permissions if you don't want to store caches into the
userspace directory.

> It does not appear to cause any actual problems for the application, as far as I can tell anyway, and the application is typically not launched from a terminal so most users are unlikely to even notice but I would still like to prevent this if at all possible.
>

Not exactly. applications may see the outdated information of the
fonts and/or missing some fonts newly added onto the system.

Hope that helps,
-- 
Akira TAGOH




[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux