How to export/save shortcuts in GNOME

hello,

I have configured some shortcuts in Settings > keyboard > View and customize shortcuts
i would like to save (export) them, but there is no button"save" or “export” (nothing to import too).

these shortcuts must be stored in a file somewhere but i dont know where.
Someone knows how to export/save these shortcuts ?

and by extension, where are stored informations we can customize in Settings (for example : Mouse parameters, accessibility settings…)
the goal is to export these informations for using them in case of à new installation.

OS : FEDORA 36
GNOME : 42.2

Thanks in advance

The file this is stored in is: ~/.config/dconf/user

There is an extension, Extensions Sync - GNOME Shell Extensions

You can also do this manually with dconf or gsettings…
For example to backup my custom keyboard shortcuts: (Keyboard > Keyboard Shortcuts > Custom Shortcuts)
dconf dump /org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/ > custom.txt

To restore them:
cat custom.txt | dconf load /org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/

You can do similar for other settings or backup the full output.

2 Likes

OK for the extension.

relating to dconf dump :
it works with :

dconf dump /org/gnome/settings-daemon/plugins/media-keys/

(without " `custom-keybindings/" at the end)

thanks for the quick reply and your help.