Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I can adjust the settings to use a terminal rather than just plain output. However, I can't seem to figure out the correct command to input for using gnome-terminal. I can use 'xterm -e', a fine enough solution, but I figured I'd like to know anyway.

When I try to use 'gnome-terminal -e', running my program will result in a blank terminal quickly opening and closing. I have to 'break' the execution afterward (sort of like an infinite loop). When using 'gnome-terminal -x' I get:

Cannot connect creator comm socket /tmp/qt_temp.h17333/stub-socket: No such file or directory

share|improve this question

4 Answers 4

up vote 5 down vote accepted

This issue is reported as a bug in Qt Creator.
https://bugreports.qt-project.org/browse/QTCREATORBUG-1633


Update: Seems to be fixed on 31 Aug 2012.

share|improve this answer
    
Thank you very much! –  user6658 Dec 2 '11 at 4:19

The equivalent of xterm -e for gnome-terminal is gnome-terminal -e, try it. If -e does not work try -x.

share|improve this answer
    
Hi, brunopereira81, lgarzo. I'm sorry, guys, I wrote the question in a rush and completely forgot to add that I've tried these two. Please read my updated description. –  user6658 Nov 9 '11 at 20:54

You can figure out all available options with gnome-terminal --help-all:

-e, --command      Execute the argument to this option inside the terminal
share|improve this answer
    
Hi, brunopereira81, lgarzo. I'm sorry, guys, I wrote the question in a rush and completely forgot to add that I've tried these two. Please read my updated description. –  user6658 Nov 9 '11 at 21:14

I ran into this same issue and it turned out I had too many instances of my console application running in the background. I left my settings to gnome-terminal -x and instead just closed all the running instances of my application then tried again and it worked.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.