📝 Edit page
➕ Add page
Fonts
Topics
Pages
Content
Guide for Linux.
Resources
FC
Recommended path to put fonts:
~/.local/share/fonts
fc-cache
utility
NAME
fc-cache - build font information cache files
SYNOPSIS
fc-cache [ -EfrsvVh ] [ --error-on-no-fonts ] [ --force ] [ --really-force ] [ [ -y dir ] [ --sysroot dir ] ] [
--system-only ] [ --verbose ] [ --version ] [ --help ] [ dir... ]
DESCRIPTION
fc-cache scans the font directories on the system and builds font information cache files for applications using fontconfig
for their font handling.
e.g.
fc-cache -vf
fc-cache -vf PATH
List fonts.
fc-list
Or
fc-list | grep Menlo
/home/michael/.local/share/fonts/Menlo for Powerline.ttf: Menlo for Powerline:style=Regular
VS Code
When using Powerline prompt such as for Linux Lite or for ZSH, you may have issues in VS Code terminal. This can be solved with steps below.
- Copy binary font downloaded from repo.
sh mkdir -p ~/.local/share/fonts cp "Menlo for Powerline.ttf" ~/.local/share/fonts
- Update font cache.
sh fc-cache -vf ~/.local/share/fonts
- The update VS Code user settings to actually apply the font.
json { "terminal.integrated.fontFamily": "Menlo for Powerline", }
To uninstall:
- Remove the file from the fonts directory.
- Run:
sh fs-cache
Yakuake
The shell looks broken on Linux Lite. Regardless of whether using the Powerline prompt.
Edit profiles and make sure to edit current profile and reselect a mono font.
Or create a new profile, select a font and make it default.
Whether using the system Default or a custom made a default, either way you can preview changes immediately.