[GNC] Preferences reset

Geert Janssens geert.gnucash at kobaltwit.be
Sat May 22 08:51:36 EDT 2021


As the description in the bug is fairly long and technical, I'll repeat the workaround steps here:
The migration is actually fairly easy to do manually. It involves these steps:
* if you care about current sandbox settings, move
  $HOME/.var/app/org.gnucash.GnuCash/config/glib-2.0/settings/keyfile
  to some place safe
* run
  dconf dump /org/gnucash/ > \
  $HOME/.var/app/org.gnucash.GnuCash/config/glib-2.0/settings/keyfile
* run
  perl -pi.bkp -e's!^[[]![org/gnucash/!' \
  $HOME/.var/app/org.gnucash.GnuCash/config/glib-2.0/settings/keyfile
The long  commands are split in two lines. You can either copy them as presented here (with 
the backslash and newlines included)  or you can put each command on a single line, but then 
you have to remove the  backslash character from the command.

Regards,

Geert

Op zaterdag 22 mei 2021 13:00:58 CEST schreef Geert Janssens:
> I have looked into this some more and filed bug
> https://bugs.gnucash.org/show_bug.cgi? id=798194[1] with more details.
> 
> The proper fix would require changes affecting all users, not only flatpak
> users (changes to how we store our preferences in GSettings). That's
> probably out of proportion with the benefit we'd have from this.
> 
> Luckily there is a workaround that is fairly simple, involving two shell
> commands. They are detailed in the bug report.
> 
> Regards,
> 
> Geert
> 
> Op zaterdag 3 april 2021 22:52:31 CEST schreef John Ralls:
> > I haven't noticed anything and so far everyone who's reported this uses
> > the
> > flatpak build. My guess for the most likely cause is that we upgraded the
> > Gnome runtime and there's some change to GSettings in there.
> > 
> > Regards,
> > John Ralls
> > 
> > > On Apr 3, 2021, at 9:33 AM, David Carlson <david.carlson.417 at gmail.com>
> > > wrote:
> > > 
> > > So your file history was gone too.  I wonder if there is a comparable
> > > problem with Mac computers?
> > > 
> > > On Sat, Apr 3, 2021, 11:05 AM Mike <txtinman at yahoo.com> wrote:
> > >> Yeah, that's exactly what I mean. I forgot to add that when I clicked
> > >> on
> > >> the desktop icon to start GC it opened a new database with no entries
> > >> as
> > >> if
> > >> I were starting GC from scratch. I had to find the file and start it
> > >> from
> > >> the file manager. I was worried that my data would be gone, but it was
> > >> only
> > >> my preferences that were gone.
> > >> 
> > >> Mike
> > >> 
> > >> On 4/3/21 9:49 AM, David Carlson wrote:
> > >> 
> > >> Do you mean that GnuCash reset your preferences for you without any
> > >> action
> > >> on your part?
> > >> 
> > >> That sounds like a bug to me.
> > >> 
> > >> 
> > >> 
> > >> On Sat, Apr 3, 2021, 8:38 AM Mike via gnucash-user <
> > >> 
> > >> gnucash-user at gnucash.org> wrote:
> > >>> I just opened GC today and discovered that I had to reset all of my
> > >>> preferences. None of the entries were affected. Very strange, I've not
> > >>> had that happen before. I'm using GC Flatpak version 4.5 on Linux Mint
> > >>> 20.1 for those who are interested.
> > >>> 
> > >>> Mike
> > >>> _______________________________________________
> > >>> gnucash-user mailing list


More information about the gnucash-user mailing list