Red Hat Bugzilla – Bug 127238
desktop mail icon calls Mozilla without "-mail"
Last modified: 2007-11-30 17:10:45 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040620
Description of problem:
Mozilla has been set as the default mail viewer. When I click on the
mail desktop icon, the web browser comes up instead. I found out the
/usr/bin/launchmail script calls the mozilla binary withoput the -mail
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install latest version of Mozilla suite (I used RPMs from the
2. In Application Preferences, select Mozilla Mail as your mail client
3. Click on the "Email" panel icon.
Actual Results: The Mozilla browser comes up.
Expected Results: Mozilla Mail should have been called.
I have solved this problem (for me at least) by editing the launchmail
script. It originally ripped out any arguments from the command line,
and executed the binary with no options. My hacked version preserves
any parameter that may have been included.
Created attachment 101626 [details]
My hacked version of launchmail
This /usr/bin/launchmail rips out parameters from the command string taken off
gconf for the sole purpose of testing the existence of the binary -- it is
later executed with parameters.
I also ran into this and came to the same conclusion - launchmail is
erroneously stripping parameters from the given command line,
preventing mozilla mail from being launched - Juans' changes solve
I realise that we will see this behaviour change in gnome 2.8, but can
we have this bugfix put in please?
Fixed in FC3.