To open thunderbird when you click on mailto: links with firefox you have to open the page “about:config” with firefox. There you create a new preference
network.protocol-handler.app.mailto
with the value
thunderbird
In case it doesn’t work after a restart of firefox try /usr/bin/thunderbird as value…