Use case: store settings in a file to easily backup to github repository
It's more about import/export (in the pref window) because load/save implies that we move away from gconf/dconf which isn't such a great idea.
Agree
What about simply adding ~/.gconf/apps/guake directory into a github repository? that's not enough?
Not sure it will work, conf is stored in gconf
Ah ok, so backing up gconf /apps/guake and /schemas/apps/guake paths recursively should suffice?
i.e. is this correct?
gconftool-2 --dump /apps/guake > apps-guake.xml
gconftool-2 --dump /schemas/apps/guake > schemas-apps-guake.xml
gconftool-2 --load apps-guake.xml
gconftool-2 --load schemas-apps-guake.xml
Give a try. I test it next week
i.e. is this correct?
Backup
gconftool-2 --dump /apps/guake > apps-guake.xml
gconftool-2 --dump /schemas/apps/guake > schemas-apps-guake.xml
Restore
gconftool-2 --load apps-guake.xml
gconftool-2 --load schemas-apps-guake.xmlDoesn't work with Ubuntu 18.04 :(
Guake now use dconf and no more gconf
Nowadays, with dconf, I have be resolved with this:
backup_guake () {
dconf dump /apps/guake/ > ${HOME}/Dropbox/backup_of_my_guake_settings
}
restore_guake () {
dconf reset -f /apps/guake/
dconf load /apps/guake/ < ${HOME}/Dropbox/backup_of_my_guake_settings
}
... but I guess it isn't a perfect solution yet
seems legit :) I would love to have it integrated in the preference panel :)
This should be done by #1517 (using dconf)
Most helpful comment
Nowadays, with dconf, I have be resolved with this:
... but I guess it isn't a perfect solution yet