GNOME Bugzilla – Bug 352572
Unable to open thunderbird email or attachement through beagle-search in ubuntu
Last modified: 2006-08-23 17:07:37 UTC
Please describe the problem: Under ubuntu/debian, thunderbird is called mozilla-thunderbird not thunderbird, which causes an error when opening the attachement of an email. The easy workaround is creating a link. There is also another problem, when opening an email from beagle-search, under ubuntu, firefox is launched (due to mime types i suppose), but this is because Hit.GetFirstProperty ("fixme:client") returns null instead of "thunderbird". (in function Open of class MailMessage (search/Tiles/MailMessage.cs) ) Steps to reproduce: 1. search for some text contained in a email indexed by thunderbird 2. double click on that email or attachement Actual results: Nothing appears, and i get this error in my terminal : Unable to run thunderbird: L'exécution du processus fils « thunderbird » a échoué (Aucun fichier ou répertoire de ce type) Expected results: Open the appropriate mail or attachement into thunderbird Does this happen every time? yes Other information: I have a patch suggestion, in search/Tiles/MailMessage.cs, function GetClientProcess : public static SafeProcess GetClientProcess (string client, string uri) { SafeProcess p = null; if (client == "evolution") { p = new SafeProcess (); p.Arguments = new string [2]; p.Arguments [0] = "evolution"; p.Arguments [1] = uri; } else if (client == "thunderbird" || uri.IndexOf("thunderbird") > 0 /* added for email opening because client == null */) { /** added in order to search for thunderbird */ string thunderbird = null; if (File.Exists("/usr/bin/thunderbird")) thunderbird = "thunderbird"; else if (File.Exists("/usr/bin/mozilla-thunderbird")) thunderbird = "mozilla-thunderbird"; if(thunderbird == null) return p; p = new SafeProcess (); p.Arguments = new string [3]; p.Arguments [0] = thunderbird; /** modified to launch the good thunderbird */ p.Arguments [1] = "-mail"; p.Arguments [2] = uri; } return p; }
*** This bug has been marked as a duplicate of 351136 ***