Comment 17 for bug 210472

Revision history for this message
Alain Kalker (miki4242) wrote :

I was going to suggest autostarting timidity at login to gnome using a 'wrapper' like alltray (from the package alltray). I use this to start my (proprietary) printer monitor applet.
The idea is that the wrapper (and timidity running within it) will be killed along with all other open applications at logoff.

The big trouble is that timidity doesn't like to be killed that way. One similar way to demonstrate this is as follows:

- Open a gnome terminal
- Open another tab within the terminal
- In that tab, run `timidity -iA -Os`
- Now close the tab with timidity running in it
- A popup should display asking if it is OK to kill running processes. Confirm this.
- In the remaining window, run `ps ax|grep timidity`
- Verify that timidity is still running...

My guess is that timidity does some weird magic to 'detach' itself from its parent process without actually daemonising. Any other program I've tried running in a tab like I described above (like `top`, `mc`, etc.) will get killed when closing the tab.