[SOLVED] Libreoffice defaults to A4 regardless of locales

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

[SOLVED] Libreoffice defaults to A4 regardless of locales

#1 Post by megatotoro »

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
Posts: 472
Joined: Fri Dec 29, 2017 12:39 pm

Re: Libreoffice defaults to A4 regardless of locales

#2 Post by paul1149 »

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-19-KDE x64, on Ryzen 5, 16GB RAM, SSD. Nvidia graphics.

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

Re: Libreoffice defaults to A4 regardless of locales

#3 Post by Richard »

Agree with Paul,
that's probably the quickest workaround,
To change the default template.
Thinkpad T430 & Dell Latitude E7450, both with MX-21.3.1
kernal 5.10.0-26-amd64 x86_64; Xfce-4.18.0; 8 GB RAM
Intel Core i5-3380M, Graphics, Audio, Video; & SSDs.

User avatar
megatotoro
Posts: 173
Joined: Wed Jun 09, 2010 5:59 pm

Re: Libreoffice defaults to A4 regardless of locales

#4 Post by megatotoro »

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
Posts: 472
Joined: Fri Dec 29, 2017 12:39 pm

Re: Libreoffice defaults to A4 regardless of locales

#5 Post by paul1149 »

You're welcome! I guess it makes sense that LO would take its cues from the system language and units.
MX-19-KDE x64, on Ryzen 5, 16GB RAM, SSD. Nvidia graphics.

User avatar
fehlix
Developer
Posts: 10366
Joined: Wed Apr 11, 2018 5:09 pm

Re: Libreoffice defaults to A4 regardless of locales

#6 Post by fehlix »

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
Developer
Posts: 10366
Joined: Wed Apr 11, 2018 5:09 pm

Re: Libreoffice defaults to A4 regardless of locales

#7 Post by fehlix »

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
Posts: 173
Joined: Wed Jun 09, 2010 5:59 pm

Re: Libreoffice defaults to A4 regardless of locales

#8 Post by megatotoro »

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”