[2.0] [linux] default page size is Letter despite locale being A4

• Apr 29, 2015 - 14:32
Type
Functional
Severity
S4 - Minor
Status
active
Project

I don't know where the default page size for a new tune comes from, but I find all my files have a paper size set to Letter, despite /etc/papersize being set to a4. I could not find a setting in the preferences for this.


Comments

I think this depends on the locale settings of your PC/account
If you set it to French (maybe via `export LANG=fr`), A4 should be the default.

alf@lewis:~$ locale
LANG=fr_FR.UTF-8
LANGUAGE=
[...]
LC_PAPER="fr_FR.UTF-8"
[...]
LC_ALL=

My locales definition for fr_FR has

LC_PAPER
height 297
width 210
END LC_PAPER

-> I'd expect A4 and not Letter...

I believe the default comes from the default paper size from your default printer - there is no simple / portable way to get the information from "locale" that works on Windows, Mac OS, and Linux according to my understanding.

Title [2.0] [linux] page size is Letter [2.0] [linux] default page size is Letter despite locale being A4

Which linux distrib?