How to use locale(1) to set default paper size?

Miroslav Lachman 000.fbsd at quip.cz
Thu Dec 19 19:17:04 UTC 2019


Gary Jennejohn wrote on 2019/12/19 20:09:

[...]

> Ah, this is good.  I also have a4 set in /usr/local/etc/papersize, so
> that explains why I always get A4 when I start libreoffice without
> loading a file.
> 
> Of course, all you need to do is ``echo a4 > /usr/local/etc/papersize''

I think it will not work without libpaper.

Another option for LibreOffice is to create a new document with paper 
size A4, save it as a template and set it as a default template. 
LibreOffice writer should use it for any later created documents.

Miroslav Lachman


More information about the freebsd-hackers mailing list