sailfish-keyboard / sailfishos-presage-predictor

Presage based input predictor for the Sailfish OS
https://openrepos.net/content/sailfishkeyboard/maliit-plugin-presage
GNU General Public License v3.0
7 stars 4 forks source link

move presage config to /usr/share #24

Closed rinigus closed 6 years ago

rinigus commented 6 years ago

Right now we have presage.xml in /etc . This may lead to conflicts between different apps using Presage (if it will happen) as well as issues if users will start editing it.

To ensure consistency of the configuration, I suggest to move it to

/usr/share/maliit-plugin-presage

Presage dictionaries should stay in /usr/share/presage, but configuration is a different matter since we are modifying it from C++ code.

rinigus commented 6 years ago

Looking into presage profileManager::init_profiles (see https://github.com/sailfish-keyboard/presage/blob/master/src/lib/core/profileManager.cpp ). We either have to change it and skip loading from other places than the specified one, or forget this feature.

rinigus commented 6 years ago

Marking by won't fix, let's reopen if we decide to go for it and change Presage configuration loading