By jove I think I've got it !!

The key seems to be:

/opt/google/picasa/3.0/bin/gnomehalintegration.sh

Which I had thought simply does a gconf to cause Gnome to launch
Picasa when
USB storage or a PTP Camera is inserted. Turns out it does more!

Because my Ubuntu 9.04 version of Picasa was trashing my faces there
was little
to be lost be reinstalling. So I installed Picasa 3.8 (under Unbuntu
9.04) ... but I did the extra
step of switching back to the original Google version of wine (which
it turns
out has add-ons for this)

So I installed Picasa 3.8 on my Ubuntu 9.04 (which shares $HOME via
dual boot
with Ubuntu 10.10 )

I did the install as follows:

1: Install Google .deb file from Ubuntu repository this gives you
Picasa 3.0
+ modified wine (in these magic fixes)  ... Hint it's in Synaptic

2: Install latest wine (actually version does not matter , we won't be
using it)

3: Download Picasa 3.8 and click on exe file ... installs under
(standard) wine.

4: Flip things around:

   mv -f /opt/google/picasa/3.0/wine/drive_c/Program Files/Google/
Picasa3 /opt/google/picasa/3.0/wine/drive_c/Program Files/Google/
Picasa3.old   # Move old version e.g. 3.0 away

   mv -f ~/.wine/drive_c/Program Files/Google/Picasa38 /opt/google/
picasa/3.0/wine/drive_c/Program Files/Google/Picasa3 # Move 3.8 into
place (now called Picasa3)

5: Launch Picasa ( /opt/google/picasa/3.0/bin/picasa )

Now in my case (running under Ubuntu 9.04) this detected the fresh
installation and offered to run

/opt/google/picasa/3.0/bin/gnomehalintegration.sh ... which made all
the difference. I guess if it does
not , you can run it by hand.

6: Switch back to Unbuntu 10.10 , it does not offer to lanuch
gnomehalintegration.sh .. but that probably becaus eth critical update
has been made.

The trick seems to be that Picassa (the Linux binary not the windoze
exe file) takes some options:

Either   picasa /StiDevice       (if the drive does NOT mount as USB
device)
or       picasa "$MOUNT_POINT"   (if it does)

Which explains how it can cope with the Camera(s) being mounted at all
different locations...


.... pheww!

--

Graeme


-- 
You received this message because you are subscribed to the Google Groups 
"Google-Labs-Picasa-for-Linux" group.
To post to this group, send email to 
[email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-labs-picasa-for-linux?hl=en.

Reply via email to