Ubuntu – How to dump ALL dconf/gsettings so that I can compare them between two different machines

dconfgnomekeyboardwine

The problem:

I have two machines, both with Ubuntu Gnome 14.04 up-to-date, and both with installed the latest CrossOver Linux(1) to run MS Office 2007 on it. I know, it's a proprietary program, but the problem is more general and affect Wine too. Please do not stop reading.

Both machines have a spanish keyboard working well most of the time (showing sometime a known bug but I think it's unrelated). The problem is that on one of them there is a set of program running under Crossover Wine affected by a bug that makes the dead keys not working on some program, notably MS Office Word (there is also another bug for another issue but it seems it is the same problem).

Disabling IBus in Language Support -> Change Keyboard input method and unsetting XMODIFIERS works on one machine but not on the other (!).

So it must be some strange setting doing the difference…

The question

Is it possible to dump all the gsetting/dconf/whatever configuration database(2) in a readable file so that I can check differences with diff -u?

I know that

gsettings list-recursively org.freedesktop.ibus.general

works, but I am quite puzzled that

gsettings list-recursively org.freedesktop

gives the error

No such schema 'org.freedesktop'

…so it seems that I can't dump all of the registry in one go. Any hint?


Footnotes:

(1) This is a version of Wine with added technical support and fixes to run some program better. A lot of the improvement percolates on free Wine, so I think is a good part of the Ubuntu ecosystem; nevertheless I do not add the link to avoid being accused of publicity ;-)

(2) Can we call it what it really is — a registry like the infamous windows one?

Best Answer

Use the dump command of dconf (https://developer.gnome.org/dconf/unstable/dconf-tool.html):

dconf dump /

As always you can use output redirection to save the output to a file for later use:

dconf dump / > dconf-backup.txt