User forums > Using Code::Blocks
Different terminal
cdubks88:
Is there any way to change the default output console from xterm to gnome-terminal or konsole?
Thanks,
C.
takeshimiya:
Yes, go to Settings->Compiler and debugger->Tab other->Terminal to run console programs.
Twey:
The problem is that the value this takes looks like:
--- Code: ---xterm -T $TITLE -e
--- End code ---
to which it appends the command, becoming something like
--- Code: ---xterm -T 'Program' -e 'LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH /usr/bin/cb_console_runner "/home/twey/devel/cpp/program/bin/Debug/program"'
--- End code ---
That's fine for an xterm, but konsole needs its command to look more like:
--- Code: ---LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH konsole -T 'Program' -e '/usr/bin/cb_console_runner' "/home/twey/devel/cpp/program/bin/Debug/program"
--- End code ---
... and I see no way of doing this.
crzysdrs:
I think that's a good idea. I would definitely prefer to see the debug output in konsole rather than an xterm window. If anyone knows a way to do this that would be great. Otherwise if it's not possible I think it would be a useful feature.
Twey:
It's more than just a preference in my case; for some reason or other, xterm loads incredibly slowly on my system (3-4 minutes) and bogs down the whole system whilst doing so. Thus, a dependence on xterm renders the development cycle on small projects (where I'm testing after every minor change) too slow for C::B to be an option.
Navigation
[0] Message Index
[#] Next page
Go to full version