如何更改各种终端仿真器的字体?
主要是:
- Gnome终端
- Xfce终端
- 的Konsole
- LXTerminal
- 终结者
- Guake
- Yakuake
- Urxvt
- 的xterm
- Mrxvt
Gnome终端:
- 按Ctrl + Alt + T打开Gnome终端。
- 转到:
Edit
➤Profile Preferences
。 - 在“常规”选项卡下的配置文件窗口中取消选中☐
Use the system fixed width font
。 - 单击字体选择按钮,然后从结果对话框中选择所需的字体。
Xfce终端仿真器:
- 打开Xfce终端: 按Alt + F2 ,输入
xfce4-terminal
并按Enter键 。 - 转到:
Edit
➤Preferences
- 在“
Appearance
选项卡下的首选项窗口中,单击字体选择按钮,然后从结果对话框中选择所需的字体
的Konsole:
- 打开Konsole: 按Alt + F2 ,键入
konsole
并按Enter键 。 - 转至:
Settings
➤Configure Konsole
。 - 在
Appearance
选项卡下的配置文件窗口中,单击Select Font
按钮,然后从结果对话框中选择所需的字体。
LXTerminal:
- 打开LXTerminal: 按Alt + F2 ,输入
lxterminal
并按Enter键 。 - 转到:
Edit
➤Preferences
。 - 在“
Style
选项卡下的结果窗口中,单击字体选择按钮,然后从结果对话框中选择所需的字体。
终结者:
- 打开终结者: 按Alt + F2 ,输入
terminator
并按Enter键 。 - 右键单击终端窗口,在结果菜单中单击“
Preferences
。 - 在“首选项”窗口中,转到“
Profiles
选项卡,在“General
选项卡下取消选中☐Use the system fixed width font
。 - 单击字体选择按钮,然后从结果对话框中选择所需的字体。
Guake:
- 打开Guake首选项: 按Alt + F2并键入
guake-prefs
并按Enter键 。 - 在“
Appearance
选项卡下的“首选项”窗口中取消选中☐Use the system fixed width font
。 - 单击字体选择按钮,然后从结果对话框中选择所需的字体。
Yakuake:
- 打开Yakuake: 按Alt + F2 ,键入
yakuake
并按Enter键 。 - 按F12或你设定的任何钥匙带来Yakuake前进。
- 右键单击终端窗口,在结果菜单中单击
Edit Current Profile...
- 在
Appearance
选项卡下的配置文件窗口中,单击Select Font
按钮,然后从结果对话框中选择所需的字体。
下面列出的终端不提供用于更改字体的GUI。 您可以使用Font Viewer
来查看和选择字体。 顶部打开的Font Viewer
通过点击Super并搜索Font Viewer
进入Unity dash。
Urxvt / Xterm的:
-
在您喜欢的编辑器中打开
~/.Xresources
:gedit ~/.Xresources
对于
Urxvt
添加:URxvt*.font: xft:Source\ Code\ Pro:Regular:size=10
对于
Xterm
添加:Xterm*.font: xft:Source\ Code\ Pro:Regular:size=10
使用要应用的字体更改
Source\ Code\ Pro
。 使用您想要使用的字体样式更改Regular
,例如:Bold,Italic,Bold \ Italic。 将size
设置为所需的字体大小。
Mrxvt:
-
在您喜欢的编辑器中打开
~/.mrxvt
文件:gedit ~/.mrxvt
并添加以下行:
Mrxvt.xft: 1 Mrxvt.xftFont: Source\ Code\ Pro Mrxvt.xftSize: 13 Mrxvt.xftAntialias: 1