-   Linux - Software (
-   -   LibreOffice Writer keyboard shortcuts (

w1k0 11-21-2010 10:14 AM

LibreOffice Writer keyboard shortcuts
Iím just trying to configure LibreOffice and I encountered the problem concerning keyboard shortcuts for Writer.

As far I used Different versions of that package used different files and formats to store the information about keyboard shortcuts:

‒ 1.x: user/config/soffice.cfg/writerkeybinding.xml
‒ 2.x: user/config/soffice.cfg/modules/swriter/accelerator/en-US/current.xml
‒ 3.x: user/registry/data/org/openoffice/Office/Accelerators.xcu

As I see LibreOffice uses for that purposes user/registrymodifications.xcu file. The problem with that file is it stores different types of configuration settings ‒ not just keyboard shortcuts. Moreover after adding and consecutive changing of some keyboard shortcut user/registrymodifications.xcu file keeps a trace of the previous setting. So it resembles infamous Windows registry file.

The second problem I encountered concerns keyboard shortcuts saved in external file for future loading. That file has obscure binary format. When I test it with file command it recognizes that file as containg data.

Iím the author of a set of macros, keyboard shortcuts and templates for StarOffice and Now Iíd like to adapt these macros, keyboard shortcuts and templates for LibreOffice. There is no problem with macros and templates. They work fine. But thereís problem with keyboard shortcuts. To publish them in all in one registrymodifications.xcu file isnít good idea because the other settings stored in that file change the way LibreOffice work. On the other hand storing keyboard shortcuts in obscure data file isnít elegant and safe. The potential user of these keybord shortcuts could be affraid to import to LibreOffice some unknown settings.

So I ask you if itís possible to store keybord shortcuts for LibreOffice in separate file using some readable format?

w1k0 11-24-2010 02:22 PM

Assuming three days after I asked the question nobody found the solution the conclusion is there is no the solution and the only method to import keyboard layout to LibreOffice is to load saved binary file to the program which updates all in one registrymodifications.xcu registry file. I don’t mark the thread as solved because from my point of view the problem persists. I simply don’t accept the idea of registrymodifications.xcu file and obscure binary formats.

pcsmits 07-18-2014 08:41 AM

Change to .zip
Dear w1k0,

If you change .cfg to .zip you can unzip the configuration files. It has the following content:


which you can manipulate at will.

Best regards,


All times are GMT -5. The time now is 12:02 AM.