Author Topic: [SOLVED] How can I use gnome-terminal instead of xterm?  (Read 11471 times)

Offline const451

  • Multiple posting newcomer
  • *
  • Posts: 37
[SOLVED] How can I use gnome-terminal instead of xterm?
« on: September 05, 2012, 02:24:40 am »
Hello,

I changed the setting Environment->General->Change Console Program

from: xterm -T $TITLE -e
to: gnome-terminal -T $TITLE -e

but that does not start any terminal at all.

I am on Ubuntu.

TIA
« Last Edit: September 05, 2012, 08:33:07 pm by const451 »

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: How can I use gnome-terminal instead of xterm?
« Reply #1 on: September 05, 2012, 06:24:13 am »
A little search even google should have shown this:

Code
gnome-terminal --disable-factory --hide-menubar -t $TITLE -x

Nevertheless, tht's what I use and it works fine for me.

Offline const451

  • Multiple posting newcomer
  • *
  • Posts: 37
Re: How can I use gnome-terminal instead of xterm?
« Reply #2 on: September 05, 2012, 06:31:24 pm »
I did not see it when I searched. Thx for posting.

Can I prevent terminal from closing once the program is done?


Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: How can I use gnome-terminal instead of xterm?
« Reply #3 on: September 05, 2012, 07:29:07 pm »
In your projcts properties (ab Build targets)), chose Console as app-type and check "Pause when execution ends" or check "Project -> Set program's arguments -> Run host in terminal" .

Offline const451

  • Multiple posting newcomer
  • *
  • Posts: 37
Re: How can I use gnome-terminal instead of xterm?
« Reply #4 on: September 05, 2012, 08:05:37 pm »
It worked - thank you.