Mailing photos from Picasa 3 in Thunderbird 3
Currently if you want to mail photos from Picasa 3 in Thunderbird 3 fails due to this bug .
Workaround for this problem
Open terminal and run the following commands
$ cd /usr/bin
$gksudo gedit picasa-hook-email.sh
Copy and paste the script below into the editor, and edit (if neccessary) the "PATH_TO_TBIRD=" line to the command that normally launches Thunderbird. (If you have a desktop launcher for Thunderbird then open it with kwrite and look at the "exec=" line.)
#!/bin/sh
# picasa-hook-email.sh
# Edit the next line
PATH_TO_TBIRD=thunderbird
emailstr=$(echo "$1″|sed ‘s/mailto:?/to=,/'|\
sed ‘s/&cc=/,cc=/'|sed ‘s/&bcc=/,bcc=/'|sed "s/&body=/,body=\'/"|\
sed "s/&attach=/\',attachment=\'file:\/\//"|sed ‘s/&attach=/,file:\/\//g')"‘"
$PATH_TO_TBIRD -compose "$emailstr"
#End of picasa-hook-email.sh
Save and exit the file
Or You can download this script from here
Now you need to change the permissions to the script
$chmod 755 /usr/bin/picasa-hook-email.sh
Now you need to close your thunderbird and open it again you should be able to mail photos from Picasa 3 in Thunderbird 3
Thanks to Josh Stump for this tip
I haven’t had this problem…yet.
I created the script and have it working, but shouldn’t the picture I want to send be already attached in the e-mail?
Well, this did allow a compose message window to open, but it didn’t attach the pic. Thoughts?
It does not work at all… 🙁
Seems doesn’t work in Picasa 3.6
Works on Picasa 3.8 running on Mint 9. Thanks!
Neither this nor any other alleged Picasa and Thunderbird solutions have worked for me.
I apologize for the previous comment! This script works perfectly with Tbird 3.0.1.0 and Picasa 3.0.0; My mistake was to use the command in the Tbird launcher (thunderbird $u) instead of the simple “thunderbird” in the first line. Thanks!
Can someone copy the working scriptfile and post it here. I can´t seem to get it working, using Picasa 3.8 and Mint 9,
OK one step further, Thunderbird opens, but there is no attachment no. Any clues?
I wrote this script back in 2010 for use in Mandriva with Picasa 3.00 (Build 57.4402,0) and the early versions of Thunderbird 3
Here is the original article:-
http://forum.mandriva.com/en/viewtopic.php?f=92&t=124148&hilit=picasa
It would have been good to see some credit here 🙁
The instructions posted here are not very clear, and possibly explain some of the problems.
1. The script must be saved to /usr/bin
2. It must be made executable
3. The PATH_TO_TBIRD= must hold the command that runs Thunderbird.
I just tested it again in Mageia 2 with Thunderbird Daily build and my original Picasa version and it works perfectly.
I have not tested with any later versions of Picasa as the one I have does all I need 😉
I hope that helps,
Barry
Now second month of trying to solve this. Have put exact script into picasa-hook-email.sh and copied file to /usr/bin, /opt/google and all folders containing picasa. Have also tried changing “PATH_TO_TBIRD” to “thunderbird %u”, etc. Am using Mint 14 on Acer laptop – funny thing is I beat it last year on PC running Ubuntu, but can’t remember how!
Watch out for bad single quotes when copy/pasting that script…a number of them are incorrect…fix that and the script should work fine.
Where to put this script in Ubuntu 16.04 ? Currently, this workaround don’t work with Picasa 3.9 and Thunderbird 52 on Ubuntu 16.04. Please provide explanation 🙂