Author Topic: couldn't execute c++ file in terminal in ubuntu, its execute in xterm by default  (Read 4983 times)

Offline nayimsust

  • Single posting newcomer
  • *
  • Posts: 2
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 :(

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
1. You can paste in xterm: just middle click
2. Settings -> Environment -> General -> Terminal to launch console programs
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
"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

Offline nayimsust

  • Single posting newcomer
  • *
  • Posts: 2
thank you its working thank u again :)
« Last Edit: November 27, 2010, 07:46:45 pm by nayimsust »