Howto Install and use custom TTF fonts on Linux

Everybody likes and sometimes need a variety of fonts. I use them for my Conky System Monitor to show charts and logos for Disk Space and Wireless Signal Strength.
Here is the easy straight-forward way to install fonts, and update the font cache so that you can start using them.

To use custom fonts:
If you have a .ttf file (lets call it your_font.ttf) that you have downloaded and want to install it as an available font you should follow these steps:

1. Create somewhere to keep your .ttf fonts:

sudo mkdir /usr/share/fonts/truetype/custom

2. Copy your font there:

sudo cp your_font.ttf /usr/share/fonts/truetype/custom
(If you prefer to use your file browser to do this, just open it as root and navigate to the directory and copy and paste the fonts there)
**Remember that you never open graphical applications as root, nor with a straight “sudo”, you should always use Graphical Sudo:**

Gnomegksudo nautilus
Xfcegksudo thunar
Kdekdesu konqueror
3. Run the following command to rebuild your font cache:

sudo fc-cache -f -v

Some Free Font Resources:

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s