Image 01
profile-image

lhands

Luc Hands
cdigi

Graphic Apps by emdot 3 comments

Hi, great app, couple of problems though;

If you have a non-standard DIGIDIR in the .cdigirc (I use ~/Pictures/) then $DIGIDB will still point to ~/Digikam/digikam.db. This seems to work better,

--- cdigi 2005-11-30 20:58:51.000000000 +0000
+++ /usr/bin/cdigi 2006-01-02 18:08:44.000000000 +0000
@@ -20,9 +20,6 @@
# Defaults {{{
# Digikam top dir
DIGIDIR=$HOME/Digikam
-# It is possible, in future versions of Digikam, database will be stored in different
-# place
-DIGIDB=$DIGIDIR/digikam3.db

# Size of images (in fact it can be anything allowed in convert -resize)
RESIZE="640>"
@@ -94,6 +91,12 @@
# Find and read $HOME/.cdigirc {{{
[ -r $HOME/.cdigirc ] && source $HOME/.cdigirc

+if [ "$DIGIDB" = "" ]; then
+ # It is possible, in future versions of Digikam, database will be stored in different
+ # place
+ DIGIDB=$DIGIDIR/digikam3.db
+ echo $DIGIDB
+fi
# }}}
# Auxiliary functions: {{{

Also this doesn't work with anything other than the latest version of digikam, unless sqlite3 is replaced with sqlite (seems to work with digikam 0.73) - this would be nice as a configuration option? - Jan 02 2006