And here's how you can do the same for Gnome settings:
$ dconf dump / | xclip
$ gnome-control-center # change something!
$ diff -u -F '^\[' <(xclip -o) <(dconf dump /)