ubuntu 通过console-setup服务,设置控制台字体

801 查看

1.安装console-setup服务
apt-get install console-setup console-terminus
其中:console-terminus是在 Linux 控制台下便于快速阅读的等宽字体,也是很多人比较喜欢的字体
2.配置console-setup服务
# dpkg-reconfigure console-setup
如果要选用terminus字体,在Set of characters that should be supported by the console font: 的对话框中可选择以下 中的一项:
. Combined - Latin; Slavic Cyrillic; Greek
. Combined - Latin; Slavic and non-Slavic Cyrillic
3.console-setup服务的装载与停用
/etc/init.d/console-setup {start|reload|restart|force-reload|stop}