Comments (3)
Hi,
thank you for the report.
I'm not sure to understand the question.
- Which kind of synchronisation? Do they share a shared folder or "cloud" synchronisation?
For now, the configuration file is stored under
QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation) + "/gcompris/" + GCOMPRIS_APPLICATION_NAME + ".conf"
The data are stored under:
QCoreApplication::applicationDirPath() + '/' + QString(GCOMPRIS_DATA_FOLDER) + "/rcc/", "value stored in [Admin]/cachePath of the gcompris.conf file", QStandardPaths::writableLocation(QStandardPaths::CacheLocation), "assets:", QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + '/' + GCOMPRIS_APPLICATION_NAME
For the configuration file itself, an idea could be to create a first config file that we always read in the cache file that would contain the path to the "shared" configuration file if needed (a redirection).
Or
2) are you talking about updating the configuration file [Admin]/cachePath and [Admin]/userDataPath with values that are on the network?
Johnny
from gcompris-qt.
Thank you for your reply! I only tried to move the configuration file to a location that is synced with a cloud storage (in my case Nextcloud) and leave a symbolic link at the original location. The problem with this is that cachePath and userDataPath contain absolute paths, so something like /home/user1/... while I would need /home/user2/... on the other device. So I tried values like ~/... or $HOME/... which did not work.
For the configuration file itself, an idea could be to create a first config file that we always read in the cache file that would contain the path to the "shared" configuration file if needed (a redirection).
So you mean a second optional configuration file that would overwrite values from the first one, so I could put all the options I like to sync in there? That would be nice as I actually do not even want to sync those path settings causing the problems, but they just happen to also be in that one configuration file and thus get synced too.
EDIT: I decided to use chezmoi and it works so well that I think there is no reason to do this in any other way. I think this issue can be closed.
from gcompris-qt.
Great, thanks for the discovery :)
from gcompris-qt.
Related Issues (20)
- no sounds in Gnumch game HOT 4
- Windows installer doesn't create a shortcut in public desktop HOT 1
- Multiple profiles HOT 1
- Enrich your vocabulary crashes HOT 4
- Installation On Android problem HOT 11
- Can't download external assets on Fire OS 5 HOT 4
- About Section is not Updated for 2021 - Copyright Not Updated.
- Raspberry Pi sound issues HOT 1
- gcompris-qt segfaults HOT 5
- black boxes instead of buttons HOT 9
- (Windows 7, 64bit) Font error, most of the material are unreadable HOT 21
- Debian 11 XFCE - Screen flickering HOT 3
- android app download audio: Handshake failed Code 6 HOT 3
- Background music do not play HOT 6
- Watercycle broken starting after 2.1 HOT 5
- Can't compile, missing qtquickcontrols2-5-private-dev package on Raspbian Bullseye (Debian 11) HOT 5
- Checksum of downloaded file does not match HOT 6
- Request: command-line option to disable manual level switch HOT 4
- Mouse "cursor" placement with multiple monitors HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gcompris-qt.