安装Nerd Fonts字体
原文链接: http://www.kylin-ux.com/2017/03/23/linux-admin-安装nerd-fonts字体
Nerd Fonts is a project that patches developer targeted fonts with a high number of glyphs (icons).
Specifically to add a high number of extra glyphs from popular ‘iconic fonts’ such as Font Awesome, Devicons, Octicons, and others.
下载字体, 存放在字体目录
|
|
生成字体信息缓存
|
|
查看是否安装成功
|
|
fc-cache - build font information cache files
fc-cache扫描字体目录并生成字体信息的缓存, 然后应用程序就可以立即使用这些新安装的字体
fc-list - list available fonts
fc-list :lang=hi - Lists font faces that cover Hindi.
设置gnome-terminal使用新字体
|
|
查看系统字体
gsettings get org.gnome.desktop.interface font-name
将系统字体修改为使用 Sans 10号字体
gsettings set org.gnome.desktop.interface font-name ‘Sans 10’