On Mon, Sep 3, 2012 at 4:38 PM, Lorenzo Milesi <[email protected]> wrote:
> While I wait to import my Fspot collection, I was trying to use a fresh
> shotwell installation for my summer pics.
> I keep my photos on a remotely mounted SMB share, and with fspot I used to
> create a link to .gvfs/whatever on wherever/Photos -> ~/Photos.
>
> If I try to select this location on shotwell it places the pictures in my
> home (~/2012 and so on).
> I tried forcing the dir with gconf-editor but didn't work, still placing them
> on the home.
>
> Isn't this supported?
I can guarantee you will have better results using NFS instead of SMB.
Most fileservers support it.
You can start Shotwell with a script to ensure that the library is
available (I also use it because I have several Shotwell clients
sharing the same DB).
I'm pasting my own script which I'm sure could be a lot better done
but it works for me..
--
#!/bin/bash
#set -x
NFSSHARE=10.0.0.100:/Shared
MOUNTDIR=/media/nfs_shared
if [ -f ${MOUNTDIR}/Photos/.shotwell/data/photo.db ]; then
echo "${MOUNTDIR} mounted, ok"
if [ -f ${MOUNTDIR}/Photos/.shotwell/data/photo.db.lock ]; then
echo "lockfile already exists, exiting.."
exit 99
fi
touch ${MOUNTDIR}/Photos/.shotwell/data/photo.db.lock
echo "created lockfile"
/usr/bin/shotwell
echo "shotwell closed, removing lockfile"
rm -v ${MOUNTDIR}/Photos/.shotwell/data/photo.db.lock
echo "umounting nfs"
sudo umount ${NFSSHARE}
else
echo "${MOUNTDIR} not mounted, trying to mount"
sudo mount -t nfs -o soft,retry=1,proto=tcp,timeo=10,retrans=2
${NFSSHARE} ${MOUNTDIR}
exec $0
fi
_______________________________________________
Shotwell mailing list
[email protected]
http://lists.yorba.org/cgi-bin/mailman/listinfo/shotwell