一、 安装kmscon

yaourt -S kmscon

二、 手动创建配置文件

/etc/fonts/conf.d/99-kmscon.conf
------------------------------------------------------------------------------
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
        <test name="family"><string>monospace</string></test>
        <edit name="family" mode="prepend" binding="strong">
                <string>DejaVu Sans Mono</string>
                <string>WenQuanYi Micro Hei Mono</string>
        </edit>
</match>
</fontconfig>

三、 启动kmscon替换内核终端

1. 在某个tty显示

# systemctl enable kmsconvt@tty1.service

2. 在所有tty显示

# ln -s /usr/lib/systemd/system/kmsconvt\@.service /etc/systemd/system/autovt\@.service

 3. 取消显示

# systemctl disable getty@tty1.service

 

相关文章:

  • 2022-12-23
  • 2021-12-24
  • 2022-12-23
  • 2022-12-23
  • 2021-05-18
  • 2021-08-16
  • 2022-12-23
  • 2021-12-02
猜你喜欢
  • 2021-09-29
  • 2022-01-26
  • 2021-07-09
  • 2022-12-23
  • 2021-07-30
  • 2021-07-05
  • 2022-03-10
相关资源
相似解决方案