How can I read GSettings values from a filesystem backup?

Solution 1:

Suggested by a community member in the GNOME IRC channel:

  1. Copy the old ~/.config/dconf/user to /tmp/dconf/user.
  2. Export the data to a human-readable format:

    XDG_CONFIG_HOME=/tmp dconf dump / > old-gsettings-data.txt
    
  3. Optionally edit the data in a text editor and load it into the current database with dconf load.