I did some tests and identified a problem. If I use language-selector-
gnome to change from English (US) to Swedish, it looks like this:

$ sudo cat /var/lib/AccountsService/users/gunnar | grep Lang
Languages=sv:en_US:en;

Next:
* Relogin
* Open g-c-c from terminal and switch to Region & Language

Then you see this error message:

00:59:54.0364                   **[11007]: WARNING: Couldn't get locale for 
language: sv:en_US:en
00:59:54.0366         GnomeDesktop[11007]:CRITICAL: 
gnome_get_language_from_locale: assertion '*locale != '\0'' failed

This can be dealt with in different ways, but for now I think it's
better to change 0010-set-language.patch so it does not write the colon
separated language list into the accountsservice keyfile. That way the
language selector in lightdm-gtk-greeter keeps working as well.

So I have uploaded a change, which also allowed me to drop language-not-
xpg.patch.

Not sure if the upstream project is at all useful for us. In any case I
kind of fear the it will cause more issues...

** Changed in: accountsservice (Ubuntu)
       Status: New => Fix Committed

** Changed in: accountsservice (Ubuntu)
     Assignee: (unassigned) => Gunnar Hjalmarsson (gunnarhj)

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to accountsservice in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/2024560

Title:
  Check if 0010-set-language needs to be update for the new languages
  property

Status in accountsservice package in Ubuntu:
  Fix Committed

Bug description:
  Upstream did changes to add a languages properties

  
https://gitlab.freedesktop.org/accountsservice/accountsservice/-/commit/881e0ea7

  I've rebased 0010-set-language to apply correctly but we should review
  if we need to adapt the patch to apply a similar logic to the new
  languages property that it's doing for old language one

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/2024560/+subscriptions


-- 
Mailing list: https://launchpad.net/~dx-packages
Post to     : dx-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dx-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to