Gnome-terminal hangs on 'exit' command.

Asked by Derek White

This was reported as a bug, then was immediately denied bug status and moved over to questions.
Then, it expired... (Also, it is very confusing to have a comment on the answers.launchpad.net section that says "This does not appear to be a bug report and we are closing it." We know it's not a bug, that's why its on questions/answers. Why does it copy these over to answers.launchpad?) Oh, here's the link to the bug report turned into a question: https://answers.launchpad.net/ubuntu/+source/gnome-terminal/+question/29419

And yet another bone to pick...why is this immediately thrown out as not a bug without any investigation?
The reason I ask is because this hang only started happening for me after I upgraded from gutsy to hardy.
If something happens during upgrade that breaks a formerly perfect application....SOUNDS A LOT LIKE A BUG TO ME. Even if it's not a bug with the program, it can still be a bug with the upgrade process, in which case the bug report needs re-filed under the correct heading, but IT IS STILL A BUG.

Some people just let the power get to their heads and go click happy with the pretense of "keeping it clean".

Anyways...anytime 'exit' is typed into gnome-terminal and then enter is hit to submit the command, the cursor goes to the next line and displays/does nothing. I cannot type, I cannot hit Ctrl-C to break it, the window is essentially frozen until I click the close button on the window decoration or goto File > Close Window.

Why did this start happening after upgrade to Hardy?
What is causing it?
Anyone need to see a file to help me? Ask and you shall receive.
How can I fix it?

Note: When I use Root Terminal (gksu /usr/bin/x-terminal-emulator) exit works fine.
Note: When I use x-terminal-emulator 'exit' hangs.

Random question: Why do some things use /home/derek when I su and some use /root? This is very weird and I'm sure messes up some per-user bash script functionality/usefulness.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-terminal Edit question
Assignee:
No assignee Edit question
Solved by:
Bhavani Shankar
Solved:
Last query:
Last reply:
Revision history for this message
Best Bhavani Shankar (bhavi) said :
#1

Hello Derek

Its not a bug for sure...Change the shell option "What to do when the command exits" and set it to "Exit the terminal". (In edit >Current profile) under the title and command tab..

Then some use /home folder while root also because most of config /preferences files for various programs are in /home folder

Go to your home folder and press cntrl+h to view them as they are hidden

and when executing a system related process it uses /root to be simple

Regards

Bhavani Shankar.

Revision history for this message
Derek White (d-man97) said :
#2

Thank you for the information.

So, let me get this straight, if I want Run Application (Alt-F2) to run things in a terminal and not close the window when it's done, I have to make the 'exit' command not work?

That's moronic.

-Derek

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Derek White (d-man97) said :
#4

This is still moronic! =)

If I make it into a wishlist do you think they will program in a work-around to allow the Alt-F2 terminals to stay open without breaking 'exit' within a non-Alt-F2 induced gnome-terminal?

Revision history for this message
Derek White (d-man97) said :
#5

Thanks Bhavani Shankar, that solved my question.