News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Different terminal

Started by cdubks88, February 24, 2006, 07:32:22 PM

Previous topic - Next topic

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

#2
The problem is that the value this takes looks like:
xterm -T $TITLE -e
to which it appends the command, becoming something like

xterm -T 'Program' -e 'LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH /usr/bin/cb_console_runner "/home/twey/devel/cpp/program/bin/Debug/program"'

That's fine for an xterm, but konsole needs its command to look more like:
LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH konsole -T 'Program' -e '/usr/bin/cb_console_runner' "/home/twey/devel/cpp/program/bin/Debug/program"
... 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.

kaziya

#5
i agree completely with using another console app, all you need to do is change xterm to konsole and add sh -c to the end of the terminal string