Wednesday, November 23, 2016

Run Code Blocks programs using Gnome Terminal Konsole etc

Run Code Blocks programs using Gnome Terminal Konsole etc


Ok, so we all (mostly) love Code::Blocks. But using the XTerm window (the one you get to test your codes into) is a real pain (for me at least) in the ... Instead I wanted to use the default terminal that I use for commands. Now, Ive been a user of Gnome-Terminal for quite sometime and now have shifted to KDE. So now I use Konsole. Finding the exact attribute string is a bit annoying after each install so heres a collection. Ill add more when I use more.
For Konsole:
konsole --workdir $WORKDIR --title $TITLE -e

For Gnome - Terminal
gnome-terminal $TITLE -x

For X-Term
xterm -T $TITLE -e


Credits:
Eragon0605: [ http://ubuntuforums.org/showpost.php?p=9190211&postcount=3 ]
jens: [ http://forums.codeblocks.org/index.php/topic,11245.msg76596.html#msg76596 ]


Go to link download