Fix the font problem in a recent Feisty update

The Ubuntu Feisty Fawn update from yesterday gave me an interesting issue when I restarted later on. It could not find my fonts! The following was displayed when trying to start GDM:

could not open default font ‘fixed’

After some digging it seems like the font directories have been moved, so X can no longer find the fonts. To fix this, just open up /etc/X11/xorg.conf and edit the font lines to look like this:

Section “Files”
FontPath “/usr/share/fonts/X11/misc”
FontPath “/usr/share/fonts/X11/cyrillic”
FontPath “/usr/share/fonts/X11/100dpi/:unscaled”
FontPath “/usr/share/fonts/x11/75dpi/:unscaled”
FontPath “/usr/share/fonts/X11/Type1″
FontPath “/usr/share/fonts/X11/100dpi”
FontPath “/usr/share/fonts/X11/75dpi”
# path to defoma fonts
FontPath “/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType”
EndSection

The old font path was /usr/share/X11/fonts, which at least for me is now empty.

4 thoughts on “Fix the font problem in a recent Feisty update”

  1. [quote comment="39722"]thanks men it rocks now. I had all my fonts appearing as squares.[/quote]
    I could see why that would be a problem. :) Great that you found it useful.

Leave a Reply