Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change Code::Blocks default console

Tags:

codeblocks

As I write quite a lot of console applications in Code::Blocks I was wondering if there was a more user-friendly way to do my IO. For example using Cygwin or a Eclipse-style console.

I've heard it is somehow possible through tools, but I haven't figured out how.

like image 805
tann36 Avatar asked Oct 28 '25 20:10

tann36


2 Answers

Settings->Environment Settings->"Terminal To Launch Console Programs:"

like image 78
zabimaru Avatar answered Oct 30 '25 23:10

zabimaru


Zabimaru already answered, but here's an example of changing from xterm to gnome-terminal on Linux.

Go to Menu > Settings > Environment... > General settings > Terminal to launch console programs and change the default

xterm -T $TITLE -e

to

gnome-terminal --disable-factory --title $TITLE -x

which should actually appear as one of the drop-down options.

like image 30
Garrett Avatar answered Oct 30 '25 22:10

Garrett