codeblocks

warning: GDB: Failed to set controlling terminal: 不允[许]的操作

解决方法:

更改调试终端:使用gnome-terminal作为调试终端

在codeblocks菜单中选:

Setting==>Environment...==>General Setting==>Terminal to lanuch console programs:

用 “gnome-terminal -t $TITLE -x” 替换 “xterm -T $TITLE -e” 即可!!!

 

没有快捷键

安装codeblocks-contrib

打开CB,settings/editor/keyboard shortcuts/edit/complete code,在new shortcut中自定义快捷键,然后把ctrl-space删除,替换为别的

xterm:

修改~/.Xresources就可以了(没有就自己创建一个)

xterm*locale: true
xterm.utf8: true
xterm*utf8Title: true
xterm*faceName: Monaco:pixelsize=14
xterm*faceNameDoublesize: WenQuanYi Zen Hei:pixelsize=15

xrdb -load ~/.Xresources

原文地址:https://www.cnblogs.com/wjgaas/p/4116610.html