Comment 3 for bug 819842

Revision history for this message
Daniel Manrique (roadmr) wrote :

Hi, I can confirm the original report.

Steps to reproduce (on an 11.10 system, daily image from 20110802.1)

1- Start the terminal (gnome-terminal)
2- Launch for example gedit &
3- Close the terminal

Expected behavior:
- The gedit instance that was launched through the terminal remains

Actual behavior:
- gedit also dies when closing the terminal

However this only happens with gnome-terminal and only on 11.10:

- Doing the same on 11.04 with gnome-terminal works as expected, the gedit window remains once the terminal is closed
- Doing the same on 11.10 with xterm (use the Unity application finder to get the xterm) works as expected, the gedit window remains once xterm is closed.

I did find a workaround (back to my old Unix command line tricks), which is using nohup to launch gedit as "immune to hangups and output to a non-tty", in gnome-terminal do:

nohup gedit &

This should also work for other GUI programs.