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, also 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
. Drive letter assignments can change for removable drives. To store the images on the removable drive, the user should delete the explicit drive assignment. In this case, delete H:
. The next screen is “Configure where you will store databases.” If the assistant proposes a location with an explicit drive letter assignment, the user should similarly delete that drive assignment.
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.
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