Hi,
I have 2 scripts which do the trick for me. (They maybe do not fullfill all the requirements of Warren, but could be a starter) They are located at http://ftp.haitsma.org/mozilla-scripts/ Note that the firefox script is still called firebird. I already changed this at my home pc but did not upload it yet. Will do this tonight
https://bugzilla.fedora.us/show_bug.cgi?id=1113
Firefox and Thunderbird are the KILLER combination. fedora.us Extras firefox-0.8 was released last week, but we still need your help in order to get the thunderbird-0.5 into acceptable release shape. My personal time is too short to devote to this package now.
The last remaining blocking is probably a complete rewrite of the /usr/bin/thunderbird script so the following requirements are met:
- It must launch first time without problems while mozilla or firefox
is running.
This works in my script. Though I think you still cannot run thunderbird when the mozilla suite is running. As you already mentioned for that mozilla needs to be patched.
- It must not pop-up that ugly error message when you attempt to launch
it while it is already running. Ideally it should pop-up the already running thunderbird session if it is launched again. Read the recent bugzilla entries about the broken xremote behavior to see why this is a challenge.
My script does not launch another session just makes the current session come to the foreground. (Unfortunately this does not work if you are on another desktop :-( )
My script doesn't use xremote
- It must not have that ugly lock-file that can get "stuck" after a
crash or unexpected reboot.
Doesn't the mozilla code create this lock-file. In that case it seems like there's not much we can do. You can only delete the lock file if it's there and the mozilla app didn't start up yet.
- It must be able to launch a composer window from both a state where
thunderbird is not yet running, and thunderbird is already running. Again this is a challenge because xremote is broken.
This works fine in my script.
It must integrate with the defaults set by the Preferred Applications chooser as set by control-center after this patch above. I aim for this patch to eventually go into both upstream control-center and FC2, which should make the "Preferred Applications does not work" problem largely go away in many applications like htmlview, evolution, and a few others. A few other packages need simple patches for this to behave properly though.
This also works for me with my scripts
I highly suspect that after the above requirements are met, firefox-0.8 and thunderbird-0.5 will Just Work(TM) together and be nicely integrated into the desktop. After this is ready, I hope to have a nicely illustrated guide with graphics explaining the simple installation procedure for FC1 and FC2 (just install two RPMS from Extras), set the Preferred Applications, and suddenly Linux desktop nirvana.
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=114524 Also note that the above firefox & thunderbird pair will work together, while mozilla will be painful with thunderbird without this patch. I really hope for this patch to be applied before FC2, but I promised someone that I would never bug him directly about this anymore. I urge others to politely ask him instead. <evil grin>
Hope this will help
Jaap