Are you using darktable on several Windows computers? I do and this means usually ending up with quite a messy system with files in various stages on various PCs. The answer is: make darktable portable!
darktable can easily run from a USB thumb drive aka flash drive. All my data is on a 1Tb mechanical external HDD.
But first things first. Windows usually assigns a random drive letter when you plugin your external drive. This is not desireable and we need to tell Windows to use the same drive letter for the external drive on all your PCs. This is how we do that:
- Press Windows Key + R
- The Run window opens, type: compmgmt.msc
- The Computer Management window opens, click Disk Management
- Right click your external drive and click Change Drive Letter and Path…
- Do i.e. Change G: > OK
- Do that on all your PCs, obviously change to the same drive letter on all
(If your external disk has already the target drive letter then change to some other drive letter and back to the target letter)
This is important for darktable to find your image folder in case they are on the same external drive, or to save your exported images.
We fixed the drive letter, next, darktable. The current version is 3.0.1 – but in an *.exe package. You want a *.zip package. Sometimes there is one around, most often not. So here is what you can do:
- Download and install the latest *.exe package. If you have already darktable installed, fine, just use that.
- Go to C:\Program Files\darktable and move/copy the whole folder to your external drive
- Open a text editor (notpad, notepad++ etc.) and type:
start /d "G:\darktable\bin" darktable.exe --configdir G:\darktable\userdata\config
- Save the text file as i.e. darktableExt.bat – note the *.bat extentension!
- Put this *.bat file on all of your PCs
You do not have to create a \userdata\ folder, Windows creates that automatically when you start darktable first time. The database that is usually in C:\Users\YourNameHere\AppData\Local\darktable is now on your external drive and you have the same settings on all your PCs.
3.0.2 is out! How to make that portable: Basically the same. Install 3.0.2 to Windows. Then copy the complete folder to your portable drive. Just for safety I did do a backup before I copied the folder, but everything was smooth. All will stay the same, your styles, current state of image processing etc.