Where are my fonts?

To find out fonts that the X server supports run the following command

xlsfonts -u -fn '-*' | less

The above should give you an unsorted list of XLFD (X Logical Font Description Conventions) names.

To find out the font path one simple way that should work on all distributions

find / -name fonts.dir

To find out all fonts that are aliases to other fonts

find / -name fonts.alias -exec cat {} \; | less

I am writing this for my reference as i tend to forget them :)


Post new comment

  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

This question is for testing whether you are a human visitor and to prevent automated spam submissions.
3 + 12 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.