codeblocks版本:10.05
Linux发行版及其版本:Ubuntu 12.10
Linux桌面环境:Unity/Gnome
用codeblocks写了个程序,编译运行之后发现codeblocks默认的终端居然是xterm,丑死了,上网找了一下,发现这个办法能够让codeblocks调用系统终端:
启动codeblocks,点击菜单栏 Settings ==> Environment settings
把下面的“Terminal to launch console programs”的内容改成:
gnome-terminal -t $TITLE -x
就可以啦。