Backup keyboard shortcuts

So I have a few computers running Mate 18.04 now, and for the most part, I’ve got their configuration shared and under version control. But I haven’t been able to do the same to my keyboard shortcuts, so for now I just manually go to Control Center/Keyboard Shortcuts and set up my shortcuts each time I set up a new computer.

Is there a nice way to backup and restore keyboard shortcuts? For instance a file somewhere that stores the custom shortcuts I’ve entered, so I can just share that file between installs?

Thanks in advance.

You can use dconf command to “import” the “keybindings” that are stored in dconf database to a custom file and load it later:

dconf dump /org/gnome/desktop/wm/keybindings/ > keybindings.dconf (this stores the keybindings to a file called keybindings.conf)
dconf load /org/gnome/desktop/wm/keybindings/ < keybindings.dconf

You can look here for more info.


When i try the dconf dump command above, I get a file with no content, and a size of zero kb.