In ~/.config/fontconfig/fonts.conf there is a rule excluding fonts from loading with firefox but given .fonts folder is blacklisted not only for firefox but for all others applications. Is there a way to blacklist some fonts only for specified application eg. firefox ?

    <test name="prgname">

Seems like prgname is ignored. The same happened when rejecting specified font <string> instead of <glob>. Why is that ?

fontconfig: 2.13.1-4.4
fontconfig-config: 2.13.1-4.4
DE: Gnome 42

  • 1
    I don't think selectfont works like you want it to, it's a top-level element. You might want to do with a separate conf file for firefox.
    – catemperor
    Commented May 14, 2022 at 19:49
  • @catemperor can you give an example of config ?
    – EdiD
    Commented May 16, 2022 at 10:38
  • see unix.stackexchange.com/questions/467903/…
    – catemperor
    Commented May 17, 2022 at 13:26


You must log in to answer this question.

Browse other questions tagged .