Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Today I did a fresh install of ubuntu 10.04. In my .Xdefaults file there are following lines:

urxvt*font:     -adobe-courier-medium-r-normal--24-240-75-75-m-150-iso8859-1
urxvt*boldFont: -adobe-courier-bold-r-normal--24-240-*-*-*-*-iso8859-1

Now urxvt only starts if I comment out those lines. I think the reason is that the adobe-courier font seems to be not installed as

xlsfonts|grep adobe|grep courier
-bitstream-courier 10 pitch-bold-i-normal--0-0-0-0-m-0-adobe-standard
-bitstream-courier 10 pitch-bold-r-normal--0-0-0-0-m-0-adobe-standard
-bitstream-courier 10 pitch-medium-i-normal--0-0-0-0-m-0-adobe-standard
-bitstream-courier 10 pitch-medium-r-normal--0-0-0-0-m-0-adobe-standard

shows. xfont-base, xfont-100dpi and xfont-75dpi are installed.

Now my question is, how to find out which package contains the desired font.

share|improve this question
You could try to search for the font name in package descriptions or in package contents. You can search for this at – N.N. Jul 22 '11 at 11:05
Thanks, but I had no success – student Jul 22 '11 at 11:09
up vote 3 down vote accepted

If you have a file on your system that belongs to the package whose name you don't know, you can figure out the pkg name with:

dpkg -S <file>

Most font files are in /usr/share/fonts/.

In there, I (natty) find /usr/share/fonts/X11/100dpi and other directories.

In 100dpi I find many files, including helvR24.pcf.gz.

So I use dpkg -S on that:

$ dpkg -S /usr/share/fonts/X11/100dpi/helvR24.pcf.gz
xfonts-100dpi: /usr/share/fonts/X11/100dpi/helvR24.pcf.gz

The pkg is listed first: xfonts-100dpi

share|improve this answer




(ISO 10646-1 en ISO 8859-1 fonts in 75 and 100 dots per inch)

Directory font-adobe-75dpi holds, amongst others:

enter image description here

share|improve this answer

Your Answer


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.