26

Ubuntu desktop with 12.04 is about to crash. Installed 13.04 on a new machine, want to transfer Book Antiqua font from old machine to the new one. How do I find it on the old machine? My /usr directory is empty.

My fonts.conf file has these lines:

<!-- Font directory list -->
    <dir>/usr/share/fonts</dir>
    <dir>/usr/x11R6/lib/X11/fonts</dir> <dir>/usr/local/sharefonts</dir>
    <dir>~/.fonts</dir>
<! --

Don't know what this means, but my /usr directory has nothing in it.

29

Secret Locations:

The secret locations of your fonts whereabouts are defined in /etc/fonts/fonts.conf.

gedit /etc/fonts/fonts.conf

Standard Locations:

/usr/share/fonts
/usr/local/share/fonts
/home/<username>/.fonts #where <username> is your user name

Note that the .fonts folder is a hidden folder.

Source: Where Are Fonts Stored / Located In Ubuntu?

  • 5
    Additionally to above: /home/<username>/.local/share/fonts – Rael Gugelmin Cunha Nov 26 '15 at 12:12
21

I use fc-list command to view the list of fonts installed.

  • Hey, thanks. This was a really helpful one. Also, I guess *-list must be a really helpful command in general. – user260674 Jul 12 '17 at 23:09
  • fc-list | grep "<(partial) name of the font>" maybe handy – Adam Ryczkowski Feb 21 '18 at 11:35
17

I've found that fonts can be installed for Precise (12.04) and Trusty (14.04) in

~/.local/share/fonts
  • 2
    Now this is really surprising! This location is definitely not in my /etc/fonts/fonts.conf and even so all fonts I installed using Ubuntu's font viewer ended up there. – Chuim Feb 16 '15 at 10:55
  • Not "can", they "are" installed there when using the Font Viewer to install them. I am already spending hours on finding this location to get rid of a font. Pretty dull. – mondjunge Jun 2 '15 at 12:18
  • This doesn't actually work on 12.04. Use ~/.fonts instead. – Caleb Jul 1 '15 at 5:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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