Hi list, I would like to re-locate the user data directory and user cache. Currently these directories are retrieved using g_get_user_data_dir () and g_get_user_cache_dir (), which in turn may be affected by the user by setting appropriate XDG_* variables. I would however like a more persistent setting, so I added the user-cache-dir and user-data-dir keys to the org.freedesktop.Tracker.DB namespace in DConf.
The behavior of the two keys is similar. If the key is set, it takes precedence over g_get_user_*_dir () and the supplied path is used for storing the files. If the key is empty (the default setting), the old behavior is preserved. Please see the following patch: https://github.com/Pelagicore/tracker-ivi/commit/213456024d686305d0f6a30b09fa81f04e601fdd I also have a patch for setting the path to the ontology directory. I will submit it in a different thread to keep the discussion separate. -- Regards, Jonatan Pålsson Pelagicore AB Ekelundsgatan 4, 6th floor, SE-411 18 Gothenburg, Sweden _______________________________________________ tracker-list mailing list tracker-list@gnome.org https://mail.gnome.org/mailman/listinfo/tracker-list