GNOME终端(terminal)字体配置
terminal
The new Windows Terminal and the original Windows console host, all in the same place!
项目地址:https://gitcode.com/gh_mirrors/term/terminal
免费下载资源
·
GNOME终端(terminal)字体配置
在中文环境的GNOME中,终端字体总是不正常,装了中文字体就好了,本文介绍一种简单的设置方法。
GNOME终端配置后的效果
英文字体设置
默认的英文字符不清晰,是由于系统的Monospace字体不正确导致的。只要换一个字体就可以成功。
打开GNOME终端,在菜单中选择编辑->配置文件首选项 ,在常规一栏中,去掉“使用系统的等宽字体”一项,选择字体为Dejavu Sans Mono或Bitstream Vera Sans Mono,字号12。确定下来,英文字体就会有明显的改观。
中文字体配置
此时终端的中文字体可能还不太清晰,一种较简便的解决办法是安装文泉驿点阵字体。如在debain中的安装方法为:
# apt-get install ttf-wqy-zenhei
至此,GNOME的终端应该就比较美观了。
GitHub 加速计划 / term / terminal
94.53 K
8.17 K
下载
The new Windows Terminal and the original Windows console host, all in the same place!
最近提交(Master分支:2 个月前 )
d04381ec
"HighContrast" is not a possible requested theme. So `_UpdateBackgroundForMica()` would force the settings UI to be light or dark. To fix this, we just check if we're in high contrast mode and, if so, we don't bother setting the requested theme. 12 天前
e83434ff
Turns out that having the styles for the KeyChordText and ParsedCommandLineText be empty for high contrast mode caused the issue. Since we're already using theme resources for the colors, we automatically adjust properly to whatever the high contrast theme is (Thanks XAML!).
Bonus points:
- we didn't need the theme dictionaries anymore, so I just moved them to the ResourceDictionary directly
- ParsedCommandLineTextBlockStyle isn't used. So I removed it altogether.
Validated command palette with multiple high contrast themes. See PR thread for demo.
Closes #17914 12 天前
更多推荐
已为社区贡献7条内容
所有评论(0)