User forums => Using Code::Blocks => Topic started by: nayimsust on November 27, 2010, 05:56:07 pm
Title: couldn't execute c++ file in terminal in ubuntu, its execute in xterm by default
Post by: nayimsust on November 27, 2010, 05:56:07 pm
i like codeblocks ide to compile a c or c++ file . i use windows seven and ubuntu operating system .But one problem appear to me when i am using codeblocks in ubuntu , i execute a c or c++ file its execute in xterm interface , i think xterm is less powerful than terminal , because i can't paste something in there and its look so tiny and ugly :( , it would be better if it execute in ubuntu terminal by default . i am searching the answer how can i execute in terminal but these solution didn't work thats why i am feeling so much unhappy , please any one give me the right way to do that , i think many expert are in here to helps me :)
sory for my poor english :(
Title: Re: couldn't execute c++ file in terminal in ubuntu, its execute in xterm by default
Post by: oBFusCATed on November 27, 2010, 06:11:46 pm
1. You can paste in xterm: just middle click 2. Settings -> Environment -> General -> Terminal to launch console programs
Title: Re: couldn't execute c++ file in terminal in ubuntu, its execute in xterm by default
Post by: Jenna on November 27, 2010, 07:10:08 pm
"Settings -> Environment -> General settings -> Terminal to launch console programs:" is the place to change.
If you use gnome-terminal, you can use this command:
Code
gnome-terminal -t $TITLE -x
Title: Re: couldn't execute c++ file in terminal in ubuntu, its execute in xterm by default
Post by: nayimsust on November 27, 2010, 07:41:57 pm