On 26/01/10 16:16, Robbie wrote:
> Barry,
> Your script solved my problem of Picasa not successfully opening my
> default email client (Thunderbird) but the newly opened message did
> not contain any attachments - i.e. - the picture I had selected to
> email was not attached to the email nor was there the usual Picasa
> email message "you have been sent 1 picture" or whatever it usually
> says.
> I noticed that the script writes to the "tmp" directory in my "home"
> directory so I looked and turns out I didn't HAVE a "tmp" directory in
> the "home" directory so I created one there and now everything works
> correctly.
> Just wanted to point this out in case anyone else was having this
> problem.
Robbie,
Thanks for your feedback! If you want you can change the location of the
temporary file in the variable assignment - you could just point it to
your home folder. (I will edit the original now I know - thanks)
tmpstr=/home/"$USER"/picasa.txt
In Mandriva there is a /home/<user>/tmp by default, so I simply used it
'cos it was there.
If my bash scripting was better I am sure it would not need to use a
temporary file, but as it worked OK I really did not think it was worth
the time & effort of figuring out a better way!
> BTW - what should the permissions be on the "tmp" directory? I set it
> to full permissions to test but it probably doesn't need that?
Well, mine is 700
I'm glad it's working for you,
Cheers,
Barry
> On Jan 7, 6:50 am, Barry Jackson<zen25
...@zen.co.uk> wrote:
>> On 06/01/10 13:18, Barry Jackson wrote:> On 05/01/10 13:44, dgd wrote:
>>>> P3 won't allow me to log into my G account (internet not found!)
>>>> So, I wanted to send the images via another client (ctrl+e). No other
>>>> options!Can't send via another email client!
>>> You can use your default email client in Linux using
>>> picasa-hook-email.sh script which you need to write yourself.
>>> I have written one forThunderbirdwhich performs seamlessly.
>>> http://forum.mandriva.com/viewtopic.php?p=758868
>>> Barry
>> I should also have mentioned that kmail and the default Gnome mail
>> client (the name of which I forget) are both supported out of the box
>> without needing the script.
>> Barry