How to open LibreOffice Writer to a specific screensize by default? (in the Qubes operating system)

I’m using Writer in the Qubes operating system and when Writer opens to a new document the Writer window is always maximized. I am using a 2560 x 1080 monitor and would like to open Writer by default to 1280 x 1080 unmaximized. Is there a way to do this (maybe in a LibreOffice config file?) Qubes is a completely virtual operating system, where the user virtual machine is based on a virtual template machine. It’s been a problem trying to solve this from the Qubes end. I’m hoping there is a way to set the non-maximized size by default via LibreOffice.

Open an existing file. Resize the window to your liking. Make a modification in the file and save it.

When you reopen LO, the window will have the previous dimensions.

Sorry, this is not a true solution, only a workaround.

Thanks ajlittoz. But unfortunately this doesn’t work for me in Qubes. I think possibly the only way to do, what I need done, is to modify a LibreOffice config file, like for example the use of about:config in Firefox to access the behind-the-scenes default settings. Maybe this isn’t possible in LibreOffice for a user.
As a bit of extra info, the way Qubes works, is LibreOffice is stored in a virtual machine Template vm. Then any connected user virtual machine “borrows” the LibreOffice from the template to do the writing. So there’s almost no chance of a compromised user vm infecting anything in the template. But this also means not all changes made in the user vm will be persistent. This is why, I was hoping there might be a simple (as in config file) way to modify the Libreoffice program in the Template vm, so it would be forwarded by default to any user vm connected to the Template.

This is no solution but a comment. So it should have been posted as such. Why? From the summary page, we used to have a count of “solutions”. As long as this count is 0 or 1, contributors look at the question to try and provide solutions. When the count is higher, they consider the question has received sufficient attention and they go for other unanswered ones. Therefore, mistaking answers for comments, you get a serious penalty and your chances to receive a definitive answer dwindle a lot.


If I understand right, launching an application creates a new blank vm (high security). This also means all “implicit” user files disappear when the application/vm terminates. Since the GUI parameters are stored in the user profile which is created at launch, they also disappear at app termination.

Consequently, any user configuration will not survive.

There is also an advanced configuration feature where you can tweak all aspects of LO behaviour. But again, the overrides over default config are stored in the user profile. No luck, they don’t survive either.

Ah, many thanks ajlittoz for taking the time to help. It sounds like I might have to ask the Qubes community again, to see if any of the Qubes users, have suggestions for modifying the preferences in the Template vm copy of LibreOffice, which might then transfer over to the user vm’s. So far there’s been no joy on that front. If I do find a successful solution in future, I will report it back here. Cheers and many thanks.

1 Like