您尚未登录。

公告

[通告] 本论坛迁移啦~请前往位于 https://forum.archlinuxcn.org/ 的新论坛。所有帖子和参与的用户都已经迁移。

您正在访问的是原 bbs.archlinuxcn.org 的静态存档。本页面的新地址位于 https://forum.archlinuxcn.org/t/topic/9061

#1 2016-10-31 21:34:20

dpluy
会员
注册时间: 2016-10-30
帖子: 9

怎样在tty下使*.psf.gz的字体持久性生效

用的 oh-my-zsh 的 agnoster 主题,在x环境下都是可以的,因为下载了 powerline/fonts 嘛,但是tty下就不能用了,因为 terminus/PSF/ 下的字体没有安装上,就是 .local/share/fonts 下没有psf.gz的字体,然后我把 terminus/PSF/* 复制到了.local/share/fonts/下,利用setfont设置了 ter-powerline-v16n.psf.gz,生效了。然后将设置写入 vconsole.conf 中重启还是不能显示powerline的字体,主题不正常,fc-cache -f 也执行过了,还是不行,求助各位前辈~~


smile  smile  smile

离线

#2 2016-11-02 13:58:22

dpluy
会员
注册时间: 2016-10-30
帖子: 9

Re: 怎样在tty下使*.psf.gz的字体持久性生效

暂时只能是写入.zshrc 中了

if [[ $(tty) == /dev/tty* ]] ; then
  setfont ter-powerline-x16v.psf.gz
fi

但还是想知道怎么通过vconsole.conf生效?
PS: 依云仙子还是很强:)


smile  smile  smile

离线

页脚