Re: Feature request: move ~/.easytag to a proper place (~/.config, ~/.local ...)



is quite reassuring to have a quick and informative reply from developers. great!~


On Fri, May 17, 2013 at 9:20 PM, David King <amigadave amigadave com> wrote:
Hi Auguste


On 2013-05-17 20:46, Auguste Pop <auguste gmail com> wrote:
the main problem i have of using some binary database system to save my
configurations is i don't know how to port them to other systems.

With dconf, the dconf tool can dump and restore paths within the configuration database, for example:

dconf dump /org/gnome/easytag/ > easytag-settings

The above command will recursively dump the configuration settings of the EasyTAG settings path to a file. To restore from the same file:

cat easytag-settings dconf load /org/gnome/easytag/

Note that EasyTAG does not currently use GSettings, but that the above paths should stay the same (see the wip/gsettings branch for a preliminary implementation).


i just no longer have a clear file/directory to copy over to newly
installed systems and have everything working as before.

as a matter of fact, i don't even know where the settings is saved, even if
i am willing to copy over large amount of unrelated binary information.
unfortunately, i still haven't seen an application telling us where their
configuration saving database saves their settings, and how to port those
settings into new systems.

GSettings has several backends, and dconf has at least 2, so the application may not know precisely where the settings are stored. dconf follows the XDG base directory specification:

http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html

and so stores the user configuration database under XDG_CONFIG_HOME. The default location of the dconf database is "$XDG_CONFIG_HOME/dconf/user" which for most users will be "~/.config/dconf/user".


on the contrary, nearly all applications using the good old clear text
configuration files explicitly tell us where our configuration is saved.

easytag is a great software. as a user, i actually don't care how the
configurations are saved. i just hope i can have a clear, easy way to port
my settings to another computer.

I hope that I have documented what would likely be the procedure to migrate settings between systems, but please let me know if you need more details.

--
http://amigadave.com/

_______________________________________________
easytag-list mailing list
easytag-list gnome org
https://mail.gnome.org/mailman/listinfo/easytag-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]