You are not logged in.

#1 2018-05-29 15:36:25

ph9214
Member
Registered: 2017-09-08
Posts: 17

Syncing key bindings between my laptop and desktop with gnome?

I would like to have the same keybinds on my laptop and desktop, I have done it with bash aliases using github, now I want the same keybinds for gnome. And Ideas how to acomplish this?

Offline

#2 2018-05-29 19:21:40

glitsj16
Member
Registered: 2015-04-26
Posts: 126

Re: Syncing key bindings between my laptop and desktop with gnome?

GNOME relies on dconf for storing settings. For what you want to achieve dconf's dump/load options seem relevant (check man dconf for details). You can write a shell script to dump keybindings to a file on one machine and load those into dconf on another. GNOME 3.28 stores keybindings under the /org/gnome/settings-daemon/plugins/media-keys/ dconf path. Keep an eye on the GNOME wiki page for future changes to dconf etc.

Example:

# dump
$ dconf dump /org/gnome/settings-daemon/plugins/media-keys/ > gnome-keybindings.dconf

# load
$ dconf load /org/gnome/settings-daemon/plugins/media-keys/ < gnome-keybindings.dconf

Hope this helps.

Offline

Board footer

Powered by FluxBB