Broken Gnome, Help needed

Volker Wysk post at volker-wysk.de
Sun Sep 11 14:08:13 UTC 2022


Am Sonntag, dem 11.09.2022 um 14:18 +0200 schrieb Ralf Mardorf via ubuntu-
users:
> On Sun, 2022-09-11 at 11:20 +0200, Volker Wysk wrote:
> Am Samstag, dem 10.09.2022 um 21:31 +0200 schrieb Ralf Mardorf:
> > > PS: I forgot to point out that you can backup and restore your
> > > current settings using
> > >   
> > > dconf
> > >   dump              Dump an entire subpath to stdout
> > >   load              Populate a subpath from stdin
> > > 
> > > or
> > > 
> > > copy
> > > 
> > > ~/.config/dconf/user
> > 
> > Actually, I have a backup of the Gnome settings. It's in my backup
> > script, where I included it years ago. It does it like this: 
> > 
> > gsettings list-recursively > ...
> > 
> > Now I'm wondering how to restore the settings. I've read the gsettings
> > manpage, but it doesn't make much sense for me. Looks incomplete.
> > 
> > Do you know how to do it?
> 
> Hi,
> 
> by a script that either converts the schema/key syntax of the gsettings
> command to the path/key syntax of dconf and then by using the dconf
> command's write or load option or by a script that does use the
> gsettings command's set option.
> (...)

So there isn't a gsettings command which reads the output of "gsettings
list-recursively". I could write a script, but I don't need that now, since
I have followed Collin's advice and restored the .config/dconf/user file.

> The dconf commands load option is the counterpart to its dump option,

I'll do my backups of the Gnome settings with dconf now, not with gsettings.
Or maybe with both. That wouldn't hurt. The gsettings output is just 130 kB.

> The easiest way is what Colin and I mentioned...
> 
> On Sun, 2022-09-11 at 11:42 +0100, Colin Law wrote:
> > In my routine backup I backup .config/dconf/user
> 
> ...just copy ~/.config/dconf/user .

Exactly.


Regards, Volker




More information about the ubuntu-users mailing list