安装mlterm mlterm-common
装完后字体极其难看
于是参考前人资料配置字体,只修改了/etc/mlterm下的两个文件:
/××××××××××
提示一:
安装mlterm-tools
安装完后在mlterm中ctrl+鼠标左键显示菜单,可以对当前窗口做配置
ctrl+右键显示总的配置面板,这里几乎可以设置除了使用的字体外的所有东西
××××××××××/
/etc/mlterm/main关键的几项
PHP代码:
引用:scrollbar_mode=right //滚动条在右
fontsize=14
use_xim=true //设置这个才可以用输入法输入
open_xim_in_startup=true
use_transbg=true //透明背景?
fg_color=white
bg_color=black
#ENCODING=auto //encoding一般不用指定
use_anti_alias=true //使用aa
/etc/mlterm/aafont
PHP代码:
引用:ISO8859_1=Vera Sans Yuanti Mono-iso10646-1; //这个改成想要的英文字体
ISO8859_2=FreeMono-iso10646-1;
ISO8859_3=FreeMono-iso10646-1;
ISO8859_4=FreeMono-iso10646-1;
ISO8859_5=FreeMono-iso10646-1;
ISO8859_7=FreeMono-iso10646-1;
ISO8859_9=FreeMono-iso10646-1;
ISO8859_10=FreeMono-iso10646-1;
ISO8859_13=FreeMono-iso10646-1;
ISO8859_14=FreeMono-iso10646-1;
ISO8859_15=FreeMono-iso10646-1;
KOI8_R=Nimbus Mono L-iso10646-1;
KOI8_U=Nimbus Mono L-iso10646-1;
JISX0208_1978=Kochi Gothic-iso10646-1;
JISX0208_1983=Kochi Gothic-iso10646-1;
JISX0208_1990=Kochi Gothic-iso10646-1;
KSX1001_1997=dotum-iso10646-1;
//下面三个设置相应locale使用的中文字体,请设成自己满意的中文字体
引用:BIG5=AR PL Mingti2L Big5-iso10646-1;
GB2312_80=Vera Sans Yuanti-iso10646-1;
GBK=Vera Sans Yuanti-iso10646-1;
ISO10646_UCS2_1=FreeMono-iso10646-1;
# If you use UTF-8 but the range of characters is limited to ISO-8859-1,
# you may use the following line instead of the above line.
#ISO10646_UCS2_1=Courier 10 Pitch-iso10646-1;
## settings for UTF8 doublewidth (east Asian) characters
#
# Since there are no TrueType fonts available which contains
# all of east Asian characters so far, you have to choose
# one of the following lines.
# Japanese speakers may want to enable the following setting.
ISO10646_UCS2_1_BIWIDTH=Kochi Gothic-iso10646-1;
# Korean speakers may want to enable the following setting.
#ISO10646_UCS2_1_BIWIDTH=dotum-iso10646-1;
# Traditional Chinese speakers may want to enable the following setting.
#ISO10646_UCS2_1_BIWIDTH=AR PL Mingti2L Big5-iso10646-1;
# Simplified Chinese speakers may want to enable the following setting.
//使用utf8 locale的就要改这个中文字体了,请使用自己机器里的中文字体
ISO10646_UCS2_1_BIWIDTH=Vera Sans Yuanti-iso10646-1;
提示二:
我配置完mlterm后,显示已经很好了,但fcitx输入会出问题
sudo killall fcitx
fcitx
重启fcitx后,问题消失
提示三:
mlterm不支持标签页
这个可以通过screen来实现一个窗口多个会话
man screen了解关于screen的信息,ctrl+a ? 显示快捷键绑定
一般来说,在mlterm中,启动screen
新建一个shell: ctrl+a c
假如已有多个会话
它们会被依次编号0 ,1 ,2 ,....
ctrl+a 0 切换到0号窗口
ctrl+a 1切换到1号窗口
......
ctrl+a ctrl+a 切换上一个窗口
mlterm的manpage中说可以实现多窗口,用ctrl+F1可以新建一个pty window,但是我试过,没有作用。