Read more

How to set the default monospace font on Xfce (Xubuntu)

Arne Hartherz
November 13, 2012Software engineer at makandra GmbH

While you can set your own font in your terminal or other tools, it will not change the default "Monospace" font that some applications use.

Illustration online protection

Rails Long Term Support

Rails LTS provides security patches for old versions of Ruby on Rails (2.3, 3.2, 4.2 and 5.2)

  • Prevents you from data breaches and liability risks
  • Upgrade at your own pace
  • Works with modern Rubies
Read more Show archive.org snapshot

To change that, edit ~/.fonts.conf Show archive.org snapshot and add settings for the "monospace" family. Here is how it looks on my machine now:

<fontconfig>
  <match target="pattern">
    <test qual="any" name="family">
      <string>monospace</string>
    </test>
    <edit name="family" mode="assign">
      <string>DejaVu Sans Mono</string>
    </edit>
  </match>
</fontconfig>

Fill in "DejaVu Sans Mono" with your preferred font's name.

Posted by Arne Hartherz to makandra dev (2012-11-13 17:57)