How can I use gnome-terminal in qt creator?
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
gnome-terminal qt-creator
add a comment |
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
gnome-terminal qt-creator
add a comment |
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
gnome-terminal qt-creator
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
gnome-terminal qt-creator
gnome-terminal qt-creator
edited Nov 10 '11 at 2:08
asked Nov 9 '11 at 17:20
user6658
add a comment |
add a comment |
4 Answers
4
active
oldest
votes
This issue is reported as a bug in Qt Creator.
https://bugreports.qt.io/browse/QTCREATORBUG-1633
Update: Seems to be fixed on 31 Aug 2012.
How does this answer the question? I have QtCreator built on Mar 14 2016 and it still shows a blankgnome-terminal
. The "fixed" link is broken.
– doug65536
Oct 25 '16 at 17:00
1
Here's a comment in the bug from 2012: In 2.4.1 the bug is still here. I tried gnome-terminal -e but it has no effect at all; gnome-terminal -x opens the terminal but outputs nothing into it. I am running Ubuntu. This bug has been hanging since 2010?! I guess we're up to six years and still not fixed. Bug is closed though? Don't hold your breath, bug is closed as "Resolved", whatever that means.
– doug65536
Oct 25 '16 at 17:07
add a comment |
The equivalent of xterm -e
for gnome-terminal
is gnome-terminal -e
, try it. If -e
does not work try -x
.
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
It worked !!! but why -e is not working ??
– noone
Mar 14 '18 at 12:40
add a comment |
You can figure out all available options with gnome-terminal --help-all
:
-e, --command Execute the argument to this option inside the terminal
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
add a comment |
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.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f77554%2fhow-can-i-use-gnome-terminal-in-qt-creator%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
This issue is reported as a bug in Qt Creator.
https://bugreports.qt.io/browse/QTCREATORBUG-1633
Update: Seems to be fixed on 31 Aug 2012.
How does this answer the question? I have QtCreator built on Mar 14 2016 and it still shows a blankgnome-terminal
. The "fixed" link is broken.
– doug65536
Oct 25 '16 at 17:00
1
Here's a comment in the bug from 2012: In 2.4.1 the bug is still here. I tried gnome-terminal -e but it has no effect at all; gnome-terminal -x opens the terminal but outputs nothing into it. I am running Ubuntu. This bug has been hanging since 2010?! I guess we're up to six years and still not fixed. Bug is closed though? Don't hold your breath, bug is closed as "Resolved", whatever that means.
– doug65536
Oct 25 '16 at 17:07
add a comment |
This issue is reported as a bug in Qt Creator.
https://bugreports.qt.io/browse/QTCREATORBUG-1633
Update: Seems to be fixed on 31 Aug 2012.
How does this answer the question? I have QtCreator built on Mar 14 2016 and it still shows a blankgnome-terminal
. The "fixed" link is broken.
– doug65536
Oct 25 '16 at 17:00
1
Here's a comment in the bug from 2012: In 2.4.1 the bug is still here. I tried gnome-terminal -e but it has no effect at all; gnome-terminal -x opens the terminal but outputs nothing into it. I am running Ubuntu. This bug has been hanging since 2010?! I guess we're up to six years and still not fixed. Bug is closed though? Don't hold your breath, bug is closed as "Resolved", whatever that means.
– doug65536
Oct 25 '16 at 17:07
add a comment |
This issue is reported as a bug in Qt Creator.
https://bugreports.qt.io/browse/QTCREATORBUG-1633
Update: Seems to be fixed on 31 Aug 2012.
This issue is reported as a bug in Qt Creator.
https://bugreports.qt.io/browse/QTCREATORBUG-1633
Update: Seems to be fixed on 31 Aug 2012.
edited Jan 30 at 17:25
Max Matti
33
33
answered Dec 2 '11 at 3:51
ulidtkoulidtko
4,00112542
4,00112542
How does this answer the question? I have QtCreator built on Mar 14 2016 and it still shows a blankgnome-terminal
. The "fixed" link is broken.
– doug65536
Oct 25 '16 at 17:00
1
Here's a comment in the bug from 2012: In 2.4.1 the bug is still here. I tried gnome-terminal -e but it has no effect at all; gnome-terminal -x opens the terminal but outputs nothing into it. I am running Ubuntu. This bug has been hanging since 2010?! I guess we're up to six years and still not fixed. Bug is closed though? Don't hold your breath, bug is closed as "Resolved", whatever that means.
– doug65536
Oct 25 '16 at 17:07
add a comment |
How does this answer the question? I have QtCreator built on Mar 14 2016 and it still shows a blankgnome-terminal
. The "fixed" link is broken.
– doug65536
Oct 25 '16 at 17:00
1
Here's a comment in the bug from 2012: In 2.4.1 the bug is still here. I tried gnome-terminal -e but it has no effect at all; gnome-terminal -x opens the terminal but outputs nothing into it. I am running Ubuntu. This bug has been hanging since 2010?! I guess we're up to six years and still not fixed. Bug is closed though? Don't hold your breath, bug is closed as "Resolved", whatever that means.
– doug65536
Oct 25 '16 at 17:07
How does this answer the question? I have QtCreator built on Mar 14 2016 and it still shows a blank
gnome-terminal
. The "fixed" link is broken.– doug65536
Oct 25 '16 at 17:00
How does this answer the question? I have QtCreator built on Mar 14 2016 and it still shows a blank
gnome-terminal
. The "fixed" link is broken.– doug65536
Oct 25 '16 at 17:00
1
1
Here's a comment in the bug from 2012: In 2.4.1 the bug is still here. I tried gnome-terminal -e but it has no effect at all; gnome-terminal -x opens the terminal but outputs nothing into it. I am running Ubuntu. This bug has been hanging since 2010?! I guess we're up to six years and still not fixed. Bug is closed though? Don't hold your breath, bug is closed as "Resolved", whatever that means.
– doug65536
Oct 25 '16 at 17:07
Here's a comment in the bug from 2012: In 2.4.1 the bug is still here. I tried gnome-terminal -e but it has no effect at all; gnome-terminal -x opens the terminal but outputs nothing into it. I am running Ubuntu. This bug has been hanging since 2010?! I guess we're up to six years and still not fixed. Bug is closed though? Don't hold your breath, bug is closed as "Resolved", whatever that means.
– doug65536
Oct 25 '16 at 17:07
add a comment |
The equivalent of xterm -e
for gnome-terminal
is gnome-terminal -e
, try it. If -e
does not work try -x
.
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
It worked !!! but why -e is not working ??
– noone
Mar 14 '18 at 12:40
add a comment |
The equivalent of xterm -e
for gnome-terminal
is gnome-terminal -e
, try it. If -e
does not work try -x
.
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
It worked !!! but why -e is not working ??
– noone
Mar 14 '18 at 12:40
add a comment |
The equivalent of xterm -e
for gnome-terminal
is gnome-terminal -e
, try it. If -e
does not work try -x
.
The equivalent of xterm -e
for gnome-terminal
is gnome-terminal -e
, try it. If -e
does not work try -x
.
answered Nov 9 '11 at 18:55
Bruno PereiraBruno Pereira
60.2k26179208
60.2k26179208
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
It worked !!! but why -e is not working ??
– noone
Mar 14 '18 at 12:40
add a comment |
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
It worked !!! but why -e is not working ??
– noone
Mar 14 '18 at 12:40
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
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
It worked !!! but why -e is not working ??
– noone
Mar 14 '18 at 12:40
It worked !!! but why -e is not working ??
– noone
Mar 14 '18 at 12:40
add a comment |
You can figure out all available options with gnome-terminal --help-all
:
-e, --command Execute the argument to this option inside the terminal
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
add a comment |
You can figure out all available options with gnome-terminal --help-all
:
-e, --command Execute the argument to this option inside the terminal
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
add a comment |
You can figure out all available options with gnome-terminal --help-all
:
-e, --command Execute the argument to this option inside the terminal
You can figure out all available options with gnome-terminal --help-all
:
-e, --command Execute the argument to this option inside the terminal
answered Nov 9 '11 at 19:15
lgarzolgarzo
13.6k53335
13.6k53335
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
add a comment |
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
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
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
add a comment |
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.
add a comment |
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.
add a comment |
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.
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.
answered May 3 '13 at 17:23
Cory KleinCory Klein
338212
338212
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f77554%2fhow-can-i-use-gnome-terminal-in-qt-creator%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown