Hazard's stuff

change of paper size in GNOME Evolution aod other GNOME applications

— Posted by hazard @ 02-02-2008 12:51
GNOME applications, such as Evolution and Evince, use locale to figure out the paper size you want. So, to change paper type, you need to export LC_PAPER environment variable containing locale which uses the paper size you are looking for. E.g., for A4 paper:
For Letter paper size:
export LC_PAPER="en_US"
My system locale is en_US and it seems that GNOME is hardcoded to use Letter paper size for this locale, which is wrong for the place I live in - the standard paper size here is A4.

It took me quite a few walks to the office printer to figure out this one...

Hazard's stuff is maintained by Vladimir Ivashchenko <hazard -at- hazardous-area.org>