Ask Your Question
0

Where are macro key assignments stored? [closed]

asked 2017-11-23 01:52:41 +0200

nsivin gravatar image

updated 2020-10-21 13:11:57 +0200

Alex Kemp gravatar image

When I upgrade Linux Mint, I need to keep my LibreOffice Writer macros and the hotkeys I have assigned them to. They are very extensive, and it is a true pain in the neck to redo the key assignments each time. I can back up the macros from /usr/lib/libreoffice/share/basic, but that does not include key assignments. Can anyone tell me where the latter are stored in the current Mint?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2021-02-07 21:08:12.753739

1 Answer

Sort by » oldest newest most voted
3

answered 2017-11-23 08:37:11 +0200

librebel gravatar image

Hello @nsivin,

In LibreOffice version 5.4.1.2 these macro shortcut keys are stored in a file called “registrymodifications.xcu”.

This file is located at “/home/xxx/.config/libreoffice/4/user/registrymodifications.xcu” ( at least on Ubuntu 17.10 , i guess the same path is valid for Mint ).

However since the file “registrymodifications.xcu” also contains other settings besides the macro shortcut keys, it might be easier just to export your shortcut keys directly to a separate .cfg file, and then import that .cfg file again in your new LibreOffice.

Exporting and Importing your shortcut keys can be done via the Customize dialog, tab Keyboard, buttons “Save...” and “Load...” respectively.

You’d have to do that for global LibreOffice, and for each LibreOffice module separately ( Writer, Calc, etc.)

HTH, lib

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2017-11-23 01:52:41 +0200

Seen: 577 times

Last updated: Nov 23 '17