Home > linux, ubuntu > Switching your default Sans/Sans Serif/Monospace Fonts

Switching your default Sans/Sans Serif/Monospace Fonts

EDIT: Updated post for ChromeOS fonts and Arial/Verdana/Times New Roman/Courier New replacement.

When I recently switched to the totally awesome and space saving Droid Fonts (monospaced version is extremely nice for programming and shell stuff), courtesy of Google, I had to find a way to have my Ubuntu system translate every request for the default Sans/Sans Serif/Monospace fonts to their respective Droid versions. Not wanting to tamper with the system wide configuration files (I think those forward to the Dejavu family of fonts, nice, but not so cool on small screens), I just used the excellent per-user configuration system. Just dump this snippet as .fonts.conf into your $HOME directory.

<!--?xml version="1.0"?>-->
<!--DOCTYPE fontconfig SYSTEM "fonts.dtd">-->
<!-- ~/.fonts.conf for per-user font configuration -->
<family>Droid Serif</family>
<family>Droid Sans</family>
<family>Droid Sans Mono</family>

Enjoy the difference!

Categories: linux, ubuntu Tags: , ,
  1. bgbraithwaite
    September 22, 2010 at 4:28 pm

    WordPress.com has a awesome built-in source code utility that preserves all formatting, and even highlights your code. You can find details about it at http://en.support.wordpress.com/code/posting-source-code/.

    That page was a real lifesaver for me — before I knew WordPress.com could do that, I was using blockquoted <pre> text!

    • Gordon Schulz
      September 23, 2010 at 9:05 am

      Wow, that is seriously awesome to know. Thanks a lot!

  1. October 1, 2010 at 7:57 am

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: