qt creator 在linux下不显示控制台 及xterm字体配置

来源:互联网 发布:怎么取消淘宝公益宝贝 编辑:程序博客网 时间:2024/05/01 13:25
qt creator不支持Gnome默认的终端gnome-terminal,换用xterm。

工具=》选项=》环境=》终端:xterm -e


xterm字体配置


root@simon-pc:/home/simon# cd ~root@simon-pc:~# more .Xresources #没有则创建.Xresources: 没有那个文件或目录root@simon-pc:~# vi .Xresources#以下为放在.Xresources中的代码!xterm font and localexterm.locale:truexterm.utf8: truexterm*utf8Title:truexterm*fontMenu*fontdefault*Label:Defaultxterm*faceName:Consolas:antialias=true:pixelsize=18:italicxterm*faceNameDoublesize:WenQuanYi Micro Hei Mono:pixelsize=18:antialias=true:italicxterm*xftAntialias:truexterm*cjkWidth:falsexterm*background:blackxterm*foreground:greenxterm*color0: #000000xterm*color1: #CC0000xterm*color2: #4E9A06xterm*color3: #C4A000xterm*color4: #3465A4xterm*color5: #75507Bxterm*color6: #06989Axterm*color7: #D3D7CFxterm*color8: #555753xterm*color9: #EF2929xterm*color10: #8AE234xterm*color11: #FCE94Fxterm*color12: #729FCFxterm*color13: #AD7FA8xterm*color14: #34E2E2xterm*color15: #EEEEEC !解决Alt键不好使xterm*eightBitInput:falsexterm*altSendsEscape:true:wq  #保存退出root@simon-pc:~# xrdb ~/.Xresources #应用配置文件


效果图:


0 0
原创粉丝点击