mailto links from Chrome w/Thunderbird

Kevin Martin ktmdms at gmail.com
Fri Apr 5 16:17:46 UTC 2013


On 04/05/13 10:59, Steven Stern wrote:
> On 04/05/2013 08:42 AM, Kevin Martin wrote:
>> On 04/04/13 20:36, Ed Greshko wrote:
>>> On 04/05/13 09:19, Steven Stern wrote:
>>>> It is.  It's got to be something to do with Chrome, but I can't find any
>>>> setting there.
>>>
>>> There are no settings for this in chrome.  It works fine here....  It is always a puzzle to find out what controls this and if it matters what DE is being used.  Anyway....  One more thing to check....
>>>
>>> Everything works for me fine using KDE.
>>>
>>> [egreshko at meimei ~]$ xdg-settings get default-url-scheme-handler mailto
>>> handler is thunderbird
>>> /usr/share/applications/mozilla-thunderbird.desktop
>>>
>>> And in /usr/share/applications/mozilla-thunderbird.desktop
>>>
>>> Exec=thunderbird %u
>>>
>> Check your /usr/bin/xdg-email for a section called run_thunderbird and see if you have a line that says:
>>
>> MAILTO=$(echo "$2" | sed 's/^mailto://')
>>
>> If not, you probably need to update xdg-utils.
>>
>> Kevin
>>
> It's there. Again, the issue is NOT that Thunderbird is not getting
> launched, but the word "mailto:" appears in the email address if
> launched from a link in Chrome.  The address is just fine when the link
> comes from Firefox.
> 
> 
That's why I was wondering about the xdg-email script.  It appears that the line above should be stripping off the mailto: part that
get's sent thru by chrome so thunderbird doesn't get it.  It would be interesting to see what the xdg-email script is actually doing
with your information once you click on a link in chrome to fire up thunderbird to send an email.  You could try to add a -xv to the
#!/bin/bash line at the top of the script and then add a line that says "exec 1> /tmp/xdg-email.out 2> xdg-email.out".  Then next
time you click a link you *should* be able to see what the script is doing and why.

Kevin


More information about the users mailing list