ø555 2022-11-24 21:49 采纳率: 100%
浏览 9
已结题

wsl 中安装字体Powerline没有正常显示,如何解决?

wsl 中安装字体Powerline没有正常显示,不能正常更换字体

输入 fc-cache -fv

 fc-cache -fv
/usr/share/fonts: caching, new cache contents: 0 fonts, 3 dirs
/usr/share/fonts/font: caching, new cache contents: 1158 fonts, 0 dirs
/usr/share/fonts/myfonts: caching, new cache contents: 22 fonts, 0 dirs
/usr/share/fonts/truetype: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/truetype/dejavu: caching, new cache contents: 6 fonts, 0 dirs
/usr/local/share/fonts: caching, new cache contents: 0 fonts, 0 dirs
/home/ren/.local/share/fonts: caching, new cache contents: 131 fonts, 0 dirs
/home/ren/.fonts: skipping, no such directory
/mnt/c/Windows/Fonts: caching, new cache contents: 1158 fonts, 0 dirs
/usr/share/fonts/font: skipping, looped directory detected
/usr/share/fonts/myfonts: skipping, looped directory detected
/usr/share/fonts/truetype: skipping, looped directory detected
/usr/share/fonts/truetype/dejavu: skipping, looped directory detected
/var/cache/fontconfig: not cleaning unwritable cache directory
/home/ren/.cache/fontconfig: cleaning cache directory
/home/ren/.fontconfig: not cleaning non-existent cache directory
fc-cache: succeeded

属性中的字体选项没有改变

img

img

img

尝试更改注册表

img

目标
改个图上属性没有的字体

版本
wsl 2
ubnuntu20.04
win10

  • 写回答

1条回答 默认 最新

  • 浪客 2022-11-24 23:08
    关注

    应用商店装WindowsTerminal,可以替代命令行,自定义主题字体,背景等。

    img

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

问题事件

  • 系统已结题 12月3日
  • 已采纳回答 11月25日
  • 赞助了问题酬金15元 11月24日
  • 创建了问题 11月24日