ONLYOFFICE 7.0: online forms, password protection in sheets, collaboration improvements and much more
ONLYOFFICE 7.0 released

Permanently change default font

I’m using OnlyOffice version 7.0.0.1 on a laptop using Arch Linux.

When I create a new, blank document, the font is automatically Arial, 11 pt. and . Of course, I can change this without a problem, but I’d prefer to have new documents start automatically in a different font and font size. Is there a way to change the default settings for this? Everytime I search for a way to do this, I just get an answer to change the font for the current document, not all future documents.

Hello @rpallen
You should replace the pre-made example of the file by another one with necessary font settings saved to achieve your scenario. Examples are located here: /opt/onlyoffice/desktopeditors/converter/empty

Thanks. That worked, but it wasn’t as easy as it might seem. Below is what I did.

  1. In a terminal as root (sudo) I backed up the original /opt/onlyoffice/desktopeditors/converter/empty/pt-BR/new.docx to new.docx.orig.

  2. I then opened new.docx.orig in OnlyOffice, changed it to the settings I want and then tried to save, but it wouldn’t let me.

  3. I closed without saving.

  4. I opened a terminal window and started OnlyOffice as root (sudo onlyoffice-desktopeditors).

  5. I opened new.docx.orig.

  6. I then was able to save the file as new.docx.

  7. After I closed OnlyOffice as root and opened it again as a non-root user, the new document opened fine with the new settings.

Thanks again and feel free to pass on these more detailed instructions to anyone who asks the same thing. Or feel free to incorporate them into the OnlyOffice docs.

1 Like

Thank you for the guide, I will share this post if I face similar question.
By the way, I think there’s a shorter way to achieve it;

  1. sudo chmod -R 775 /opt/onlyoffice/desktopeditors/converter/empty/
  2. Copy new.docx file to another location > edit it and replace back.
    It worked this morning during the tests, but your way seems to work too.

I understand what you’re saying, but I am a bit reluctant to change permissions in a program-even if it is just a document. I’m not a complete newbie, but I’m certainly no expert. Sometimes there are reasons something has the permissions it has that I may not know about. I’m not completely against doing so, but if I have an alternative way to do something that is not too convoluted, I’ll generally take the alternative.