[Digikam-users] configuration location
Gilles Caulier
caulier.gilles at gmail.com
Tue Jul 19 15:54:44 BST 2016
2016-07-19 16:47 GMT+02:00 Simon Frei <freisim93 at gmail.com>:
> Thanks, that issue had some good information. The following questions
> remain/came up again:
> - Can a command line option to define a custom configuration location be
> reintroduced?
>
I think there is already a file in bugzilla about this topic. The port to
Qt5 has some small side effects...
> - As there really are several configfiles: Shouldn't these be places in
> ~/.config/digikam instead of directly into ~/.config?
>
The place for config files are defined by core KDE API, following
opendesktop standard. For the moment, the last 15% pending KDE API are core
application classes, included the config rules. When we will make a pure Qt
application, we will make something better. But the last percents to port
still the most difficult to do (as expected)...
> - Can information like configuration location be added to a manpage or
> help message? I might be able to help with that if you can point out the
> location where these are defined in the source code.
>
sure, more precisely in web site. This last one must be re-designed...
>
> Not important at all, just curious:
> - The digikam4 and digikam5 sql databases are identical. Still, what is
> the reason for which digikam names a new database "digikam4.db" and not
> "digikam5.db"?
>
Still the same. No changes in sqlite DB schema. For legacy purpose, the
file name will not change for the moment.
Gilles Caulier
>
> For reference: The issue linked below states that there are the follwoing
> configuration files:
> Linux:
> - ~/.config/digikamrc
> - ~/.config/digikam_tagsmanagerrc
> - ~/.config/kipipluginsrc
> - ~/.config/kipirc
> - ~/.config/showfotorc
> - ~/.local/share/apps/digikam/*
>
> OSX:
> - ~/Library/Preferences/digikamrc
> - ~/Library/Preferences/digikam_tagsmanagerrc
> - ~/Library/Preferences/kipipluginsrc
> - ~/Library/Preferences/kipirc
> - ~/Library/Preferences/showfotorc
> - ~/Library/Preferences/share/apps/digikam/*
>
> Windows:
> - ~/Local Settings/digikamrc
> - ~/Local Settings/digikam_tagsmanagerrc
> - ~/Local Settings/kipipluginsrc
> - ~/Local Settings/kipirc
> - ~/Local Settings/showfotorc
> - ~/Local Settings/digikam/*
>
>
> On 19/07/16 16:21, Gilles Caulier wrote:
>
> See my explanation given in this file :
>
> tr
>
> ... and the pending patches to do...
>
> Gilles Caulier
>
> 2016-07-19 14:39 GMT+02:00 Simon Frei <freisim93 at gmail.com>:
>
>> Actually never mind about the standard location. I did not notice that
>> all files except digikamrc (e.g. digikam_tagsmanagerrc) were not modified
>> in a long time and thus probably no longer used in digikam5. For a single
>> file there is no reason for a ~/.config/digikam directory.
>>
>>
>> On 19/07/16 14:33, Simon Frei wrote:
>>
>>> When trying to setup digikam5 for production I looked at config and
>>> database location. Database location is covered by digikam's manpage/help
>>> message, but not the configuration. I remember it was possible to set it in
>>> an earlier version, possibly by "--config <path>". From a look at the
>>> parser in the code this does not seem to be supported anymore. Could this
>>> be reintroduced?
>>> Is there a reason config files are by standard in ~/.config/ and not in
>>> ~/.config/digikam/? The latter would be much more neat.
>>> And in general the help message/manpage is very minimal. As there is no
>>> recent documentation for digikam, some information like standard
>>> configuration location should be given in the manpage or help message. If
>>> you can point me to the relevant code sections I could try to come up with
>>> something.
>>> On a side note: Digikam5 still creates an sqlite database called
>>> "digikam4.db". Is this because the schema is version 4 or was it just
>>> forgotten to be updated to "digikam5.db"?
>>>
>>> Cheers,
>>> Simon
>>>
>>
>> _______________________________________________
>> Digikam-users mailing list
>> Digikam-users at kde.org
>> https://mail.kde.org/mailman/listinfo/digikam-users
>>
>
>
>
> _______________________________________________
> Digikam-users mailing listDigikam-users at kde.orghttps://mail.kde.org/mailman/listinfo/digikam-users
>
>
>
> _______________________________________________
> Digikam-users mailing list
> Digikam-users at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20160719/76b71875/attachment.html>
More information about the Digikam-users
mailing list