idavid2013
October 23rd, 2010, 12:24 PM
Sorry if double posting or so.
Recently I've upgraded to Ubuntu 10.10 and found out Mozilla Thunderbird 3.1.4 is acting a bit unwanted way: on start up it would not minimize to tray (using Firetray plugin for Thunderbird) and to close the window for the first time I've to click twice on the close button.
Hopefully that would be fixed some time soon. But for now I've used the next solution:
$ sudo apt-get install wmctrl
that would install wmctrl if you already don't have it installed, and start Thunderbird with custom bash script:
#!/bin/bash
sleep 15
thunderbird &
sleep 3
wmctrl -c "Mozilla Thunderbird"
wmctrl -c "Mozilla Thunderbird"
that would let system start up and then start Thunderbird, wait for Thunderbird to start and with wmctrl close the window with Mozilla Thunderbird twice. So I end up with everything running and Thunderbird minimized to system tray.
PS! You might need to customize the sleep intervals for you system
Hope this would be helpfull to someone like me ...
Recently I've upgraded to Ubuntu 10.10 and found out Mozilla Thunderbird 3.1.4 is acting a bit unwanted way: on start up it would not minimize to tray (using Firetray plugin for Thunderbird) and to close the window for the first time I've to click twice on the close button.
Hopefully that would be fixed some time soon. But for now I've used the next solution:
$ sudo apt-get install wmctrl
that would install wmctrl if you already don't have it installed, and start Thunderbird with custom bash script:
#!/bin/bash
sleep 15
thunderbird &
sleep 3
wmctrl -c "Mozilla Thunderbird"
wmctrl -c "Mozilla Thunderbird"
that would let system start up and then start Thunderbird, wait for Thunderbird to start and with wmctrl close the window with Mozilla Thunderbird twice. So I end up with everything running and Thunderbird minimized to system tray.
PS! You might need to customize the sleep intervals for you system
Hope this would be helpfull to someone like me ...