Difference between revisions of "Template:Flatpak convert-pref.sh"
From GnuCash
(Gnucash 4.5: convert dconf to keyfile) |
|||
Line 1: | Line 1: | ||
<syntaxhighlight lang="sh"> | <syntaxhighlight lang="sh"> | ||
− | # | + | # Backup your current sandbox settings: |
cp $HOME/.var/app/org.gnucash.GnuCash/config/glib-2.0/settings/keyfile \ | cp $HOME/.var/app/org.gnucash.GnuCash/config/glib-2.0/settings/keyfile \ | ||
− | $HOME/ | + | $HOME/gnucash-settings.save |
# Real conversion: | # Real conversion: | ||
dconf dump /org/gnucash/ > \ | dconf dump /org/gnucash/ > \ |
Latest revision as of 20:26, 24 September 2021
# Backup your current sandbox settings:
cp $HOME/.var/app/org.gnucash.GnuCash/config/glib-2.0/settings/keyfile \
$HOME/gnucash-settings.save
# Real conversion:
dconf dump /org/gnucash/ > \
$HOME/.var/app/org.gnucash.GnuCash/config/glib-2.0/settings/keyfile
perl -pi.bkp -e's!^[[]![org/gnucash/!' \
$HOME/.var/app/org.gnucash.GnuCash/config/glib-2.0/settings/keyfile