10

In what file are the keyboard shortcuts saved in Linux Mint Cinnamon 18 ?

I want to backup the shortcuts so if I know the file where the shortcuts are saved, I can simply create a symlink to the shortcut file after reinstalling the OS.

  • Why the downvotes? Since the answer is obviously useful the question can not be that useless. Anyway, it helped me. – Lucien Chardon Feb 6 '18 at 10:43
17

You can utilize the following to export your keyboard shortcuts to a file:

$ dconf dump /org/cinnamon/desktop/keybindings/ > dconf-settings.conf

This requires the dconf-cli package to be installed. Then, to import the file after making any desired keybinding changes:

$ dconf load /org/cinnamon/desktop/keybindings/ < dconf-settings.conf
| improve this answer | |
  • Thanks, but thats does not answer my question unfortunately . The reason why i ask is, that i want to backup the shortcuts so i can simply create a symlink to the shortcut file after reinstalling the OS. – Lucien Chardon Feb 5 '18 at 20:20
  • Apologies, I've updated my answer to include details for exporting the file. I've only been able to test this on Cinnamon 17, so let me know if you encounter any errors. – aliceinpalth Feb 5 '18 at 20:22
  • The dump works on Lubuntu(18.04) + Cinnamon (3.6.7). – Peter L Sep 4 '18 at 20:33
  • On Linux Mint 20 Cinnamon, this does not dump any key assignments. ;( – Keith Bennett Sep 3 at 17:52
  • To clarify: On Linux Mint 20 Cinnamon, this outputs any overrides, but does not list the default assignments. I was hoping to have a list of all key assignments so I could search it. The GUI does not support searching. – Keith Bennett Sep 3 at 18:37
0

There are several binary files. Check the dconf-overview.xml, in the docs directory, inside this zipped file.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.