From 34dc7f9f55f0ab5143225da1e43b3e593646a2ed Mon Sep 17 00:00:00 2001 From: Vartan Christopher Simonian Date: Sat, 1 Jul 2017 20:15:25 -0700 Subject: [PATCH] Replace ~/.fonts with ~/.local/share/fonts in help `~/.fonts/` has been deprecated in favour of `~/.local/share/fonts/`. References: - https://github.com/behdad/fontconfig/blob/master/fonts.conf.in#L29 - https://lists.freedesktop.org/archives/fontconfig/2014-July/005270.html Fixes #1793 --- docs/source/installation/linux.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/source/installation/linux.rst b/docs/source/installation/linux.rst index 2ab605fd..15ec6064 100644 --- a/docs/source/installation/linux.rst +++ b/docs/source/installation/linux.rst @@ -60,12 +60,12 @@ with any coding font. #. Move the symbol font to a valid X font path. Valid font paths can be listed with ``xset q``:: - mv PowerlineSymbols.otf ~/.fonts/ + mv PowerlineSymbols.otf ~/.local/share/fonts/ #. Update font cache for the path the font was moved to (root priveleges may be needed to update cache for the system-wide paths):: - fc-cache -vf ~/.fonts/ + fc-cache -vf ~/.local/share/fonts/ #. Install the fontconfig file. For newer versions of fontconfig the config path is ``~/.config/fontconfig/conf.d/``, for older versions it’s @@ -92,12 +92,12 @@ After downloading font the following should be done: #. Move the patched font to a valid X font path. Valid font paths can be listed with ``xset q``:: - mv 'SomeFont for Powerline.otf' ~/.fonts/ + mv 'SomeFont for Powerline.otf' ~/.local/share/fonts/ #. Update font cache for the path the font was moved to (root privileges may be needed for updating font cache for some paths):: - fc-cache -vf ~/.fonts/ + fc-cache -vf ~/.local/share/fonts/ After installing patched font terminal emulator, GVim or whatever application powerline should work with must be configured to use the patched font. The