Date: Fri, 20 Dec 2019 07:24:06 +0400 From: Gleb Popov <arrowd@freebsd.org> To: Don Lewis <truckman@freebsd.org> Cc: freebsd-hackers <freebsd-hackers@freebsd.org> Subject: Re: How to use locale(1) to set default paper size? Message-ID: <CALH631=B=%2Bi%2B4M8Nm302xvBPX8nGOGR2fokHZj7oxdL-xxrRow@mail.gmail.com> In-Reply-To: <tkrat.b6e87bcba6e9415a@FreeBSD.org> References: <CALH631kMMK3boE5nndyEnM-_u7nw7%2B05KMiQiEMvcP-0OD9g7w@mail.gmail.com> <tkrat.b6e87bcba6e9415a@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 20, 2019 at 6:26 AM Don Lewis <truckman@freebsd.org> wrote: > On 19 Dec, Gleb Popov wrote: > > Hello hackers@ > > > > When I launch LibreOffice Writer, the default page size is set to > "Letter". > > From what I read on Internets, the canonical way to set default paper > size > > is via locale(1). Many sites propose setting LC_PAPER env var to > > ru_RU.UTF-8 to get "A4" as default size. > > > > On FreeBSD, however, running `locale -ck` doesn't show a category for > paper > > size and setting LC_PAPER variable doesn't seem to work for LibreOffice. > > > > Any ideas what can be done about that? > > Go to Tools -> Options -> Language Settings -> Languages and change > Locale Setting to Russian. When you create a new document and go to > Format -> Page, you should see that the paper format is now A4. > > Already had that, but it didn't work. Only libpaper thing really helped.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALH631=B=%2Bi%2B4M8Nm302xvBPX8nGOGR2fokHZj7oxdL-xxrRow>