五、安装 Droid Sans Mono Nerd 字体
作者:解琛
时间:2020 年 9 月 15 日
会出现图标乱码的情况,这里安装以下 Nerd Fonts 字体。
首先下载字体包:Droid Sans Mono Nerd Font Complete
sudo unzip 'Droid Sans Mono Nerd Font Complete.zip'
cp 'Droid Sans Mono Nerd Font Complete.otf' ~/.local/share/fonts/'Droid Sans Mono Nerd Font Complete.otf'
cd ~/.local/share/fonts
fc-cache -vf ~/.local/share/fonts/
完成字体缓存之后,查看以下系统字体,并设置系统字体为 Nerd Font。
fc-list | grep -i droid
gsettings get org.gnome.desktop.interface font-name
最后在终端的配置选项里面设置就可以了。