inux控制台(console)字体的设置(字符界面字体设置)
来源:互联网 发布:海森堡测不准原理 知乎 编辑:程序博客网 时间:2024/06/05 11:29
以debian为例,介绍两种设置方法。
1.通过console-tools设置控制台字体
1.1.选用并测试合适的字体和字库文件:
dell:~# ls /usr/share/consolefonts/
1.2.测试选用喜爱的字库文件:
dell:~# consolechars -f /usr/share/consolefonts/lat9w-16.psf.gz
dell:~# consolechars -f /usr/share/consolefonts/lat2-16.psf.gz
1.3.保存控制台默认字体配置:
dell:~# vi /etc/console-tools/config
将合适的字库文件设置为默认,如果选择lat2-16.psf.gz 字库文件,可将SCREEN_FONT设成:
SCREEN_FONT=lat2-16
2.通过console-setup服务,设置控制台字体。
2.1.安装console-setup服务
apt-get install console-setup console-terminus
其中:console-terminus是在 Linux 控制台下便于快速阅读的等宽字体,也是很多人比较喜欢的字体
2.2.配置console-setup服务
dell:~# 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
2.3.console-setup服务的装载与停用
/etc/init.d/console-setup {start|reload|restart|force-reload|stop}
- inux控制台(console)字体的设置(字符界面字体设置)
- 设置console字体
- Eclipse控制台字体设置
- c++ 设置console字体颜色
- vc++控制台程序字体颜色的设置
- SetConsoleTextAttribute函数设置控制台字体的颜色
- 字体信息设置界面
- 字体信息设置界面
- 字体信息设置界面
- 字体信息设置界面
- 设置控制台应用程序字体颜色
- C#控制台基础 设置控制台输出字体的颜色
- C#控制台 通过控制台的属性--字体设置让其显示的字体大一点
- IntilliJ IDEA 界面字体设置
- 创建字体信息设置界面
- 创建字体信息设置界面
- 创建字体信息设置界面
- 创建字体信息设置界面
- android Services
- 只要你幸福啊幸福啊
- ios推送
- NSBundle介绍
- 阿里云Linux服务器使用之(2)安装ftp服务
- inux控制台(console)字体的设置(字符界面字体设置)
- VC++动态分配内存出错解决方法
- compatibility between hadoop 1.x and hadoop 2.x(hadoop 1.x和2.x的兼容性)
- 黑马程序员—(iOS开发)OC内存管理机制---(十)
- 关于树的路径的两道题目的理解
- 安装ORACLE时在Linux上设置内核参数的含义
- 为什么MySQL表只对应一个.frm文件,没有.MYD 和.MYI文件
- 【leetcode】括号符匹配问题(Parentheses):Valid Parentheses|Generate Parentheses|LongestValid Parentheses
- Linux下的lds链接脚本简介(一)