Running the batch file will set an environment variable and start digiKam. The approach here uses a batch file as a wrapper. There is a previous topic about digiKam in another TPFC forum.ĭigiKam writes to AppData. I invite you to consider voting to make it public. I have entered digiKam into the database with a status of private. More folders can be added later for the image files with Settings > Configure digiKam > Collections. The user can also store the database files in a different folder than the image files. To increase the separation from the code, the user can specify a folder, new or existing, that is outside the digiKam folder. The user can choose a different folder name. The assistant will propose the folder Pictures for the image and database files, and offer to create it if it does not exist. The values assigned to those keys are the database locations. In the Database Settings section four keys start with Database Name. To set different locations for the individual databases, you can edit the configuration file digikamrc with a text editor while digiKam is not running. Another configuration option for the network storage of images is Settings > Configure digiKam > Collections > Collections on Network Shares.įor the sake of performance, the thumbnails database should not be on remote network storage. digiKam can then be configured with the drive letter and a folder. Here are specific instructions for Microsoft OneDrive.
The Windows Map Network Drive facility or the Net Use command can be used to assign an available drive letter to a network storage space. You may store the images, and even the databases, on one or more network drives. Settings > Configue digiKam > Collections What if you specified a removable drive, but forgot to delete the drive letter assignment? Here is another way to delete it: The next screen is “Configure where you will store databases.” To store on the removable drive, the user should similarly delete any explicit drive assignment. To point to the removable drive, there should be no explicit drive assignment. Drive letter assignments can change for removable drives. It is the value of the USERPROFILE environment variable with \Pictures appended. The first time the program is run, it will start with a configuration assistant known as the “ First Run Dialog.” On the “Configure where you keep your images” screen, the assistant will propose a location such as H:\digiKam\Pictures.
Start "digiKam" digikam.exeIf you did not extract to the default folder (digiKam), then modify the cd command on the first line of the batch file to point to the folder. :: An alternative is to set USERPROFILE to a folder on the same drive, :: The program uses this as the parent for the AppData\Local :: This will set USERPROFILE to the digiKam folder. :: %~d0 is the drive letter (including :) of the batch file.