Template:Flatpak convert-pref.sh
From GnuCash
# 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