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

dmpop at tokyoma.de dmpop at tokyoma.de
Fri Aug 12 13:46:00 BST 2022


Thank you very much for your prompt reply, Gilles!

Best,
Dmitri

August 12, 2022 2:07 PM, "Gilles Caulier" <caulier.gilles at gmail.com> wrote:

> 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#
> 356
> 
> 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