Install New Fonts in Ubuntu Linux

December 27th, 2007 @ 08:36:51 am, by Tara Email , 263 words, 793 views   English (US)  

Categories: Notes

I found myself installing several new fonts on my desktop for a recent project but it wasn't so simple as dropping the .ttf files into my ./fonts folder. That confused me for a moment. Logging out didn't refresh the font cache and neither did rebooting. So I did a bit of digging and found the proper command. I used the terminal to copy the fonts and run the command, but the how-to below is for those of us who may be new to Linux or not very familiar with the terminal.

If you wish to install a new font on Ubuntu Linux:

  1. Find the font you like and download the .ttf file. Select the .tff files and copy (ctrl+c) them to the clipboard.

  2. Save anything you are working on and close all open applications.

  3. Open your home folder with Nautilus (default file manager on default Ubuntu installations)

  4. Click the View menu option and select Show Hidden Files.

  5. Look for a folder named .fonts. Open that folder and paste (ctrl+v) the previously copied .ttf files into the .fonts folder.

  6. Open your terminal of choice. On default Ubuntu installations the gnome-terminal is available under the main Applications > Accessories menu. Type of copy+paste the following and then enter your superuser password:

    sudo fc-cache -f

  7. Allow your computer a few minutes to rebuild the fonts cache. A new terminal line with your username prompt will appear when the fonts cache is rebuilt.

That is it. You should be able to select the new fonts from within all variable font applications on your linux box.

Comments, Pingbacks:

Comment from: Ted Carnahan [Visitor] Email · http://www.tedcarnahan.com/
Thanks! This was very helpful.
PermalinkPermalink 02/25/08 @ 16:27
thanx very much but when I tried it in step no.5 there was a problem which I could not found (.font) I found (.fontconfig) but when I continued step 5 and 7 nothing happen notice that I'am using Ubuntu -the gutsy gibbon
PermalinkPermalink 05/09/08 @ 23:44

Leave a comment:

Your email address will not be displayed on this site.
Your URL will be displayed.

Allowed XHTML tags: <p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>
(Line breaks become <br />)
(Set cookies for name, email and url)
(Allow users to contact you through a message form (your email will NOT be displayed.))
What color is a red balloon?


Drive (novel)
First draft 80% complete

Categories

May 2008
Sun Mon Tue Wed Thu Fri Sat
 << <   > >>
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

Linkblog

Comics

Podcasts

Web Design Resources

Writing Resources

User Functions

Syndication

Who's Online?

  • Guest Users: 8
andy unknown joseph homework vasant barber betty file mozart baritone finite euclid laura herbert erica kristin trivial sensor new linda xyzzy mutant tape rachel aztecs alias allison garfield tammy larkin fender chat manager kristine edwina key collins lois signature einstein light admin trails nutrition renee puppet hiawatha michelle jean emerald sandra tracy samantha marvin tuttle olivia cshrc simon inna chester persona zmodem emily carole weenie morley bsd mack pluto ferrari tiffany charming innocuous finite samantha smother maggot janie