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 OpenOffice.org. Different versions of that package used different files and formats to store the information about keyboard shortcuts:
‒ OO.org 1.x: user/config/soffice.cfg/writerkeybinding.xml
‒ OO.org 2.x: user/config/soffice.cfg/modules/swriter/accelerator/en-US/current.xml
‒ OO.org 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 OpenOffice.org. 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?
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.
Change to .zip
If you change .cfg to .zip you can unzip the configuration files. It has the following content:
which you can manipulate at will.
|All times are GMT -5. The time now is 08:13 PM.|