Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there a way to configure the font path in Linux easily using a PATH-like variable or a configuration file?

I keep most of my fonts in Dropbox, so I'd like to set the font path to be something like:

/usr/share/fonts:$HOME/.fonts:$HOME/Dropbox/Documents/Fonts

Any way to do this?

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

Just symlink a subfolder of .fonts to a folder in your Dropbox.

E.g., from the commandline:

ln -s $HOME/Dropbox/Documents/Fonts ~/.fonts/Dropbox-Fonts

share|improve this answer
    
Sweet! I didn't know it would climb down into subdirectories. –  Naftuli Tzvi Kay Jan 2 '11 at 3:02
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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