Formats from Greeter not respected
Both 3.14 and bc022ef71e and affected:
- When I start Tails in French/France, I get A4 by default in LibreOffice
- When I start Tails in English/United States, I get Letter by default in LibreOffice
So far so good, but:
- When I start Tails in French/United States, I get A4 by default in LibreOffice
- When I start Tails in English/France, I get Letter by default in LibreOffice
Once this is fixed, tech writers will have to update /doc/first_steps/startup_options/US_calendar_in_Russian.png.
|Related to Tails - Feature #14544: Spend software developer time on smallish UX improvements||In Progress||2018-08-31|
|Blocks Tails - Feature #16209: Core work: Foundations Team||Confirmed|
Blocked by Tails -
#2 Updated by intrigeri 2019-06-17 09:18:32
> * When I start Tails in English/France
I’ve tried this both on feature/buster and 3.14 and indeed, the locales are not configured correctly:
$ locale LANG=en_US.UTF-8 LANGUAGE= LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL=
… while our code (look for
TAILS_FORMATS in https://git.tails.boum.org/greeter) has had the expected side effect:
$ cat /etc/default/locale LANG=en_US.UTF-8 LC_NUMERIC=fr_FR.UTF-8 LC_TIME=fr_FR.UTF-8 LC_MONETARY=fr_FR.UTF-8 LC_PAPER=fr_FR.UTF-8 LC_MEASUREMENT=fr_FR.UTF-8
So it sounds like either something-GNOME-ish overrides
/etc/default/locale, or something-else-GNOME-ish stopped honoring
/etc/default/locale at some point.
#7 Updated by segfault 2019-09-24 22:58:20
- Status changed from In Progress to Needs Validation
- Feature Branch set to feature/16095-curate-languages-in-greeter
This one took me ages (I won’t clock all that time, else we would be out of budget :P). But I learned that dconf paths and gsettings paths are not always the same: gsettings’ “org.gnome.system.locale” corresponds to dconf’s “/system/locale”.
@intrigeri, I pushed this to the other Greeter locale related path, to (hopefully) facilitate reviewing.
#13 Updated by intrigeri 2019-09-29 15:32:46
> This one took me ages (I won’t clock all that time, else we would be out of budget :P).
I think you should clock it.
> But I learned that dconf paths and gsettings paths are not always the same: gsettings’ “org.gnome.system.locale” corresponds to dconf’s “/system/locale”.
Wow, I had no idea! TIL.
> intrigeri, I pushed this to the other Greeter locale related path, to (hopefully) facilitate reviewing.
Indeed, optimistically, there’s a pretty good chance it saves me some time :)