[digiKam-users] Second copy of Digikam on Windows 7 PC possible?
Shel Ritter
shelritterbmw at yahoo.com
Fri Apr 8 08:16:25 BST 2022
Well that works! I could have sworn I tested every file I could find. 😅
All the data for the existing installation in ..AppData\Roaming\DigiKam
needs to be backed up, as well as the existing digikam_systemrc and
digikamrc files in .AppData\Local. But how should I proceed from here
to create a 2nd set of configuration settings, and be able to boot both?
Seems easy enough to create a simple batch file to choose the config files.
On 4/7/2022 11:57 PM, Gilles Caulier wrote:
>
> Not at all. Yolov config file is for face recognition…
>
> The digiKam config file is named digikamrc
>
> Gilles Caulier
> Le ven. 8 avr. 2022 à 08:41, Shel Ritter <shelritterbmw at yahoo.com> a
> écrit :
>
> Thanks for the input Gilles. Looking into the \AppData
> configuration folder, it seemed like the config file would have
> been: yolov3-face.cfg
>
> Volume in drive C:
>
> Directory of C:\Users\<user>\AppData\Roaming\digikam\facesengine
>
> 10:34 PM <DIR> .
> 10:34 PM <DIR> ..
> 08:16 PM 28,092 deploy.prototxt
> 10:34 PM 0 dir.txt
> 08:16 PM 31,510,785 openface_nn4.small2.v1.t7
> 08:16 PM 5,351,047
> res10_300x300_ssd_iter_140000_fp16.caffemodel
> 08:16 PM 67,740,572 shapepredictor.dat
> 08:16 PM 8,334 yolov3-face.cfg
> 08:26 PM 246,305,388 yolov3-wider_16000.weights
> 7 File(s) 350,944,218 bytes
>
> So I ran this, expecting to see my current installation boot:
>
> digikam.exe --config
> C:\Users\<user>\AppData\Roaming\digikam\facesengine\yolov3-face.cfg
>
> Instead DigiKam opened as if it was opening for the 1st time. It
> just wasn't recognizing yolov3-face.cfg as a valid config file,
> and opened as a fresh installation no matter what file I pointed
> it to. That initial window that pops up refers to, "The new
> location for configuration files is ~/Local Settings/ ~(old
> AppData/Local/). But the only Digikam files there are 2 simple
> text files in the root AppData/Local/ folder, digikam_systemrc 45
> KB and digikamrc 88KB that the --config command ignores.
>
> I can't see any other locations where a valid config file might
> be. And if the --help output for --database-directory <dir> is
> referring to a folder that should literally be named dir
> somewhere, I couldn't find it.
>
> Admittedly I'm not great at the technical end of things. 😉
>
>
> On 4/7/2022 10:07 PM, Gilles Caulier wrote:
>> Hi,
>>
>> the digiKam binary has few option from command line to switch to
>> a specific configuration file. Under Linux it's easy to do :
>>
>> [gilles at localhost 8.x]$ digikam --help
>> Usage: digikam [options]
>> Professional Photo Management with the Power of Open Source - A
>> KDE Family Project
>>
>> Options:
>> -h, --help Displays help on commandline options.
>> --help-all Displays help including Qt specific
>> options.
>> -v, --version Displays version information.
>> --author Show author information.
>> --license Show license information.
>> --desktopfile <file name> The base file name of the desktop
>> entry for this
>> application.
>> --download-from <path> Open camera dialog at "path"
>> --download-from-udi <udi> Open camera dialog for the device
>> with Solid UDI
>> "udi"
>> --detect-camera Automatically detect and open a
>> connected gphoto2
>> camera
>> --database-directory <dir> Start digikam with the SQLite
>> database file found
>> in the directory "dir"
>> --config <config> Start digikam with the configuration
>> file
>> "config"
>> [gilles at localhost 8.x]$
>>
>> The option "--config <config>" is the right one for your use
>> case. Look also "--database-directory <dir>".
>>
>> These options are also available under Windows of course. Just
>> call digikam.exe from a simple Windows batch script must do the
>> stuff.
>>
>> Best
>>
>> Gilles Caulier
>>
>> Le ven. 8 avr. 2022 à 05:18, Shel Ritter
>> <shelritterbmw at yahoo.com> a écrit :
>>
>> I've had a copy of Digikam installed and working well on my
>> Windows 7 PC for some time now. Recently I find myself
>> wanting a separate copy of Digikam to incorporate an
>> completely different library of photos. Is that possible?
>>
>> I was wondering if that mcould be done by making a copy of
>> the \<user>\AppData\Roaming\digikam folder, and uninstalling
>> the program, deleting (or just moving) the original data
>> folder, reinstalling it, and importing a different folder &
>> sub-folders from a different file library. Then just switch
>> the 2 \AppData\ folders when I want to switch between
>> libraries. I'm guessing things probably aren't that simple.
>> Is the any chance there's a more sophisticated method if
>> possible at all?
>>
>> I'm also wondering if there's any way to have DigiKam use the
>> existing files in the new library instead of copying them all
>> to a separate location. My libraries are pretty large.
>>
>> Thanks for any feedback folks.
>> Shel
>>
>
>
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon>
> Virus-free. www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=link>
>
>
> <#m_-3933547962615163585_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> --
> Send with Gmail Mobile
--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20220408/9d4d1bff/attachment-0001.htm>
More information about the Digikam-users
mailing list