Ask Your Question
0

Where are macro key assignments stored?

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

nsivin 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 close merge delete

1 Answer

Sort by » oldest newest most voted
2

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
Login/Signup to Answer

Question Tools

1 follower

Stats

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

Seen: 232 times

Last updated: Nov 23 '17