Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

When trying to set the default font in terminal. There are two 'monospace' fonts that interested me: 1. Ubuntu Mono 2. Monospace. I found Ubuntu Mono in /usr/share/fonts, but I couldn't find the other font 'Monospace' anywhere.

Where can I find it? I'd like to set it as my default font in other linux systems as well.

share|improve this question

2 Answers 2

up vote 4 down vote accepted

There is no Monospace font. The Monospace that is listed in Terminal is in reality Ubuntu Monospace. In Terminal it is simply referenced as Monospace. You can compare the fonts at http://font.ubuntu.com/.

share|improve this answer
    
Yeah, when I was trying different fonts, setting 'Ubuntu Mono, size:13' and 'Monospace, size:13' looked different, even though the text scaling factor is the same. Weird. –  gits1225 Mar 22 '12 at 18:24
    
I think you must be right that "Monospace" is a nickname for something, but it isn't Ubuntu Mono (look at the 'g', for example). I'm also looking for the font file so I can patch it for vim powerline. –  user106148 Nov 7 '12 at 8:50

David Seibert, I cam looking for the 'Monospace' font for exactly the same purpose: patching it for vim-powerline.

Petronilla is correct in stating that there is no explicit font called 'Monospace' which is why it is not in the list of fonts returned by

find /usr/share/fonts -iname '*monospace*'

You can poke around in /etc/fonts/fonts.conf or the various configs in /etc/fonts/conf.d/ but it will be very hard to figure out which font is exactly aliased to 'Monospace'. Easiest thing to do is

fc-match monospace

which on my 12.04 Ubuntu machine returns

DroidSansMono.ttf: "Droid Sans Mono" "Regular"

So now the mystery is solved :)

share|improve this answer
1  
on mine it shows: DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book" I can't remember if this came with the DejaVu Sans font package, or it was changed it via some tool. Hopefully someone can solve this mystery for us! –  prusswan Apr 23 '13 at 7:20
    
Same here: Monospace is aliased to DejaVu Sans Mono and I don't remember installing any separate package. I am on Ubuntu 12.04. I can also confirm that the two look the same to my eye. –  HRJ May 4 '13 at 13:25

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.