[digiKam-users] Alternative location for Lut-3D files

Gilles Caulier caulier.gilles at gmail.com
Fri Aug 12 13:07:52 BST 2022


Hi Dmitri,

Look in source code, LUT files are found by this method :

https://invent.kde.org/graphics/digikam/-/blob/master/core/libs/dimg/filters/fx/colorfxsettings.cpp#L356

This method call QStandardPaths::locateAll() with argument
QStandardPaths::GenericDataLocation. Under Linux, these path are
parsed :

GenericDataLocation : "~/.local/share", "/usr/local/share", "/usr/share"

... dixit the Qt doc :
https://doc.qt.io/qt-5/qstandardpaths.html#StandardLocation-enum

So, no way to add alternatives, except to add new rules with an
environment variable to tune before startup (aka LensFun database use
for ex).

Best

Gilles

Le ven. 12 août 2022 à 13:41, <dmpop at tokyoma.de> a écrit :
>
> Hello,
>
>
> The default path on Linux for custom Lut-3D file is $HOME/.local/share/digikam/data/lut3d Is there a way to specify an alternative path?
>
> Thank you,
> Dmitri


More information about the Digikam-users mailing list