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

Gary Jennejohn gljennjohn at gmail.com
Fri Dec 20 08:13:42 UTC 2019


On Thu, 19 Dec 2019 20:16:59 +0100
Miroslav Lachman <000.fbsd at quip.cz> wrote:

> 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.
> 

You're right.  Apparently libpaper was installed along with some
other package, so I wasn't really aware that I had it.

My /usr/local/etc/papersize is from 2017, but libpaper itself was
installed in September of this year.  The old papersize fooled me.

-- 
Gary Jennejohn


More information about the freebsd-hackers mailing list