I have been working to make Krita portable. This made me aware that improvements were possible to the digiKam batch file I posted in #7 to this topic on May 1. The batch file should be on the same drive as digiKam, but does not have to be in the same folder. Here is the improved batch file:
Code: Select all
cd /d %~d0\digiKam
:: This will set USERPROFILE to the digiKam folder.
:: The program uses this as the parent for the AppData\Local folder.
:: An alternative is to set USERPROFILE to a folder on the same drive,
:: but outside of the digiKam folder.
REM set USERPROFILE=%~d0\
START "digiKam" digikam.exe
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
. It is the value of the USERPROFILE
environment variable with \Pictures
appended. Drive letter assignments can change for removable drives. To point to the removable drive, there should be no explicit drive assignment. In this case, delete H:
. 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.
An alternative is to store the images, and even the databases, on one or more network drives. 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. digiKam can then be configured with that drive letter and a folder.
The assistant will propose the folder Pictures
for the image and database files, and offer to create it if it does not exist. The user can choose a different folder name. 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 also store the database files in a different folder than the image files. More folders can be added later for the image files from the Settings
I will submit an enhancement request to the digiKam team to make available a Zip file version of their application. In the meantime, install/copy/uninstall or use Universal Extractor.
The name of the digiKam folder used in the batch file should match the name of the folder used for the extraction.
Update: Version 6.2.0 is available at https://download.kde.org/stable/digikam/6.2.0/
The digiKam download repository now has the Windows version available in the .tar.xz compressed archive format, in addition to the .exe installer. You can use 7-Zip, PeaZip, or similar programs to extract from the Win64 or Win32 .tar.xz file. Unlike the Zip format, there are two format layers. xz is the compression layer and tar is the archive layer.
The path to the digiKam folders and files in the tar archive starts with a hierarchy of folders that are empty except for a similar subfolder. You need to drill down to the contents of the temp folder, where you will see the digiKam folders and files. You should extract those contents to a folder of your choice.
Since I have broached the subject of Krita, how about adding it to the Portable Freeware Collection? The batch file I wrote for Krita is very similar to the one in this post. I posted information about my portable Krita version at
https://forum.kde.org/viewtopic.php?f=1 ... 24#p416324
In addiion to my environment variable approach to making Krita portable, there is the PortableApps.com version. Also, I have a high regard for yaP. Perhaps tproli could update its Krita config?
Portable Freeware has a topic on Krita at