Is there any way to keep messaging services (IM – Pidgin, mail client – Thunderbird) running "on background"? I want to have them waiting for incoming messages but they disturb me when switching between applications using alt-tab. Anyway, I access those programs by clicking on the envelope indicatior in the toolbar so I don't need to see them in the list of running apps. My desire is the behavior just like with Banshee or Empathy.
I don't want the solutions like AllTray since the applications already have their "tray" in the envelope applet.
EDIT: I have realized Pigin behaves like this. I don't know if it did before but now it's okay. So just Thunderbird now…
Best Answer
EDIT 3: Thanks to @Mik and @Karthik How to emulate pressing the Close button from a script? we now have the best solution so far!!
You will need to install a Thunderbird extension:
You also need to install "xdotool" to properly run the script below:
sudo apt-get install xdotool
To make Thunderbird start on system login and immediately minimize create the script below:
EDIT: MinimizedToTray officially does not support Unity so It breaks the global menu bar after restoring thunderbird. A work around is to disable global menu extension, till a fix release, or use HUD (ubuntu 12.04) to access thunberbird's options.EDIT 2: I can confirm Karthik's comment, "MinimizedToTray revived 1.1.2" no more breaks Unity's global menu bar! Great thanks to Nils Maier...
EDIT 4: I've changed a bit the script code. I've added some lines to check for Internet connection so that
sleep 10
is not needed any more...ATTENTION in the 5th step sh was replaced with bash
EDIT 5: There is still a
sleep 10
command in the script. You should adjust the sleep time according to your system's speed. For example in my laptop I have an SSD, so Thunderbird opens fast,sleep 2
works perfect. In my desktop PC I had to add 10 seconds of sleep to make it work properly... I have already issued an other question to overcome this limitation!