简体   繁体   English

代码块停止使用 gnome-terminal (linux) 执行

[英]Codeblocks stop executing with gnome-terminal (linux)

I have kali linux, I have been using codeblocks and it worked fine with gnome-terminal,but a few days ago, it stop working.我有 kali linux,我一直在使用代码块,它在 gnome-terminal 上运行良好,但几天前,它停止工作。 I write a c++ code, then build the file and execute, but when I execute , it does nothing, codeblocks just doesn't want to launch with gnome-terminal.我编写了一个 C++ 代码,然后构建文件并执行,但是当我执行时,它什么也不做,代码块只是不想用 gnome-terminal 启动。

How I can fix it ?我该如何解决?

Thanks.谢谢。

try this:尝试这个:

From Settings > Environment,从设置>环境,

replace Code: [Select]替换代码:[选择]

xterm -T $TITLE -e

with Code: [Select]代码:[选择]

gnome-terminal --title=$TITLE -x

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM