How to set persistent user-level extension settings via the python extension API

I have an extension for which I want to add settings which are only relevant to the extension. They should persist for all documents and persist application restart. I wasn’t able to find any other extensions that seem to have that feature, does anyone know how to accomplish this from with a Libreoffice writer python extension?

You don’t mention either version of LibreOffice or your operating systems. But you could use anywhere in the user space where you can read and write. Or within the user settings, but it depends on the user.

For example, the configuration of this extension is saved in the user’s profile:

1 Like

yep, thanks for your response, that was all I needed to reverse engineer a minimal config system.