Welcome!

The kernel problem with recent updates has been solved. Find the solution here

Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.3 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

[SOLVED] Libreoffice defaults to A4 regardless of locales

Report Bugs, Issues and non- package Requests
Post Reply
User avatar
megatotoro
Forum Regular
Forum Regular
Posts: 700
Joined: Wed Jun 09, 2010 5:59 pm

[SOLVED] Libreoffice defaults to A4 regardless of locales

#1

Post by megatotoro » Fri Dec 21, 2018 11:55 pm

Hi,

I seem not to be able to change the default paper size of LO to "letter" (the one we use here) unless I choose the US locale in the login screen (and thus the system is in English). Is there a way to set "letter" as the default paper size for locales that use the Spanish language?

Any help will be greatly appreciated!

I'm running MX-18 (32 bits) but the issue is the same on the 64 bit version.

Code: Select all

$ cat /etc/default/locale
#  File generated by update-locale
LANG=es_CR.UTF-8

Code: Select all

$ locale -a
ar_EG.utf8
be_BY.utf8
bg_BG.utf8
C
ca_ES.utf8
cs_CZ.utf8
C.UTF-8
da_DK.utf8
de_CH.utf8
de_DE.utf8
el_GR.utf8
en_AU.utf8
en_CA.utf8
en_GB.utf8
en_IE.utf8
en_NZ.utf8
en_US
en_US.iso88591
en_US.utf8
es_AR.utf8
es_BO.utf8
es_CR
es_CR.iso88591
es_CR.utf8
es_ES.utf8
es_MX.utf8
es_NI.utf8
es_PA.utf8
es_PE.utf8
es_US.utf8
es_VE.utf8
et_EE.utf8
eu_ES.utf8
fa_IR
fa_IR.utf8
fi_FI.utf8
fr_BE.utf8
fr_CA.utf8
fr_CH.utf8
fr_FR.utf8
ga_IE.utf8
he_IL.utf8
hr_HR.utf8
hu_HU.utf8
is_IS.utf8
it_IT.utf8
ja_JP.utf8
ko_KR.utf8
lt_LT.utf8
lv_LV.utf8
mk_MK.utf8
nb_NO.utf8
nl_BE.utf8
nl_NL.utf8
nn_NO.utf8
pl_PL.utf8
POSIX
pt_BR.utf8
pt_PT.utf8
ro_RO.utf8
ru_RU.utf8
sk_SK.utf8
sl_SI.utf8
sq_AL.utf8
sr_RS
sr_RS.utf8
sv_SE.utf8
tr_TR.utf8
uk_UA.utf8
zh_CN.utf8
zh_TW.utf8
Last edited by megatotoro on Tue Dec 25, 2018 10:12 pm, edited 1 time in total.

User avatar
paul1149
Forum Regular
Forum Regular
Posts: 266
Joined: Fri Dec 29, 2017 12:39 pm

Re: Libreoffice defaults to A4 regardless of locales

#2

Post by paul1149 » Sat Dec 22, 2018 12:35 am

If there's no way to affect the LO to OS connection in this regard, you can change the page layout in your default LO template.
MX-17.1 x64, on C2D, 6GB RAM, SSD.

User avatar
Richard
Posts: 2736
Joined: Fri Dec 12, 2008 10:31 am

Re: Libreoffice defaults to A4 regardless of locales

#3

Post by Richard » Sat Dec 22, 2018 12:41 am

Agree with Paul,
that's probably the quickest workaround,
To change the default template.
LT: MX18.3: Thinkpad T430: DualCore, Intel i5-3320M, Ivy Bridge; 8GB RAM; 4.19.0-5-amd64; 119GB SSD 840PRO, Intel Graphics-Audio-Network
NB: MX18.1, antiX17.4: AsusTek EeePC 1005HA: Intel DualCore Atom N270, 1GB RAM, 4.19.0-1-686, 150GB HDD

User avatar
megatotoro
Forum Regular
Forum Regular
Posts: 700
Joined: Wed Jun 09, 2010 5:59 pm

Re: Libreoffice defaults to A4 regardless of locales

#4

Post by megatotoro » Sat Dec 22, 2018 12:50 am

paul1149 wrote:
Sat Dec 22, 2018 12:35 am
If there's no way to affect the LO to OS connection in this regard, you can change the page layout in your default LO template.


This weird behavior was not present in MX-17. I wonder what happened.

Thanks a lot for the idea about changing the template. That was a quick fix! :number1:

User avatar
paul1149
Forum Regular
Forum Regular
Posts: 266
Joined: Fri Dec 29, 2017 12:39 pm

Re: Libreoffice defaults to A4 regardless of locales

#5

Post by paul1149 » Sat Dec 22, 2018 12:57 am

You're welcome! I guess it makes sense that LO would take its cues from the system language and units.
MX-17.1 x64, on C2D, 6GB RAM, SSD.

User avatar
fehlix
Forum Veteran
Forum Veteran
Posts: 4210
Joined: Wed Apr 11, 2018 5:09 pm

Re: Libreoffice defaults to A4 regardless of locales

#6

Post by fehlix » Sat Dec 22, 2018 4:24 am

megatotoro wrote:
Fri Dec 21, 2018 11:55 pm
Hi,

I seem not to be able to change the default paper size of LO to "letter" (the one we use here) unless I choose the US locale in the login screen (and thus the system is in English). Is there a way to set "letter" as the default paper size for locales that use the Spanish language?

Any help will be greatly appreciated!
Thanks, for pointing this out. Seems that this glitch was introduced during the implementation of locale selection at login.
This will be fixed shortly.
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
fehlix
Forum Veteran
Forum Veteran
Posts: 4210
Joined: Wed Apr 11, 2018 5:09 pm

Re: Libreoffice defaults to A4 regardless of locales

#7

Post by fehlix » Sun Dec 23, 2018 6:17 pm

fehlix wrote:
Sat Dec 22, 2018 4:24 am
megatotoro wrote:
Fri Dec 21, 2018 11:55 pm
Hi,

I seem not to be able to change the default paper size of LO to "letter" (the one we use here) unless I choose the US locale in the login screen (and thus the system is in English). Is there a way to set "letter" as the default paper size for locales that use the Spanish language?

Any help will be greatly appreciated!
Thanks, for pointing this out. Seems that this glitch was introduced during the implementation of locale selection at login.
This will be fixed shortly.
The fix should meanwhile be available as an update. You can check that it works:
eg. select Spanish for Costa Rica (es_CR.utf8 ) at login you'll have as default papersize "letter" within LO and also default papersize for the printer.
And if you e.g, select Spanish for Bolivia (es_BO.utf8) or Spanish for Argentina (es_AR.utf8) at the login-screen you will find the default papersize "A4" for LO or the printer.
Sure, those defaults will only show up if you not already manually have chosen another default.
:puppy:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
megatotoro
Forum Regular
Forum Regular
Posts: 700
Joined: Wed Jun 09, 2010 5:59 pm

Re: Libreoffice defaults to A4 regardless of locales

#8

Post by megatotoro » Tue Dec 25, 2018 6:28 pm

fehlix wrote:
Sun Dec 23, 2018 6:17 pm
The fix should meanwhile be available as an update. You can check that it works:
eg. select Spanish for Costa Rica (es_CR.utf8 ) at login you'll have as default papersize "letter" within LO and also default papersize for the printer.
And if you e.g, select Spanish for Bolivia (es_BO.utf8) or Spanish for Argentina (es_AR.utf8) at the login-screen you will find the default papersize "A4" for LO or the printer.
Sure, those defaults will only show up if you not already manually have chosen another default.
:puppy:
I checked it and you are right: it works perfectly now. Thanks a lot! :happy:

Post Reply

Return to “Bugs and Non-Package Requests Forum”