[SOLVED] Everything switches font to Cantarell on a minimal installation 31 March 2023, 12:23:47 Been having a go at configuring and ricing an entire minimal installation from scratch on a VM and it seems already that I "cannot into fontconfig."Currently, I have an as-of-yet unpatched build of dwm with dmenu and st running on this installation. I have only one font installed currently which is Terminus, a monospace font. The moment I install something that depends on GTK3 — in this case, spice-vdagent, everything suddenly switches to Cantarell of all things as the preferred monospace font.What would the font configuration actually look like to prevent this from happening? Earlier I tried a .config/fontconfig/fonts.conf setting an alias and preferred font, but this didn't seem to work. Last Edit: 05 April 2023, 23:23:00 by Hitman
Re: Everything switches font to Cantarell on a minimal installation Reply #1 – 05 April 2023, 15:40:51 Turns out I just forgot a <family> tag. That was pretty dumb of me.Code: [Select]<?xml version='1.0'?><!DOCTYPE fontconfig SYSTEM 'fonts.dtd'><fontconfig> <alias> <family>monospace</family> <prefer> <family>Terminus</family> </prefer> </alias></fontconfig> 1 Likes