All of lore.kernel.org
 help / color / mirror / Atom feed
* Language settings GTK (glibc?) problem
@ 2016-02-03 11:49 Andreas Müller
  2016-02-03 14:50   ` Richard Purdie
  0 siblings, 1 reply; 13+ messages in thread
From: Andreas Müller @ 2016-02-03 11:49 UTC (permalink / raw)
  To: openembedded-devel@lists.openembedded.org,
	Patches and discussions about the oe-core layer

Hi,

while testing libreoffice language packets I found that language
settings for GTK based apps are broken. Interestingly QT based
applications (tested with qtcreator and lxqt) and libreoffice are
working fine.

I did some research and hope for some expert with helping hints. Details are:

* I am testing with jethro environment

* X session is started for an unprivileged user by display manager
lxdm. That sets the following environment vars for language:
| LANG="de_DE"
| LANGUAGE="de_DE"
| LC_MESSAGES="de_DE"

* starting e.g gedit from console complains:
| (process:4205): Gtk-WARNING **: Locale not supported by C library.
|    Using the fallback 'C' locale.

* 'locale -a' says
| locale: Kann LC_COLLATE nicht auf die Standard-Lokale einstellen:
Datei oder Verzeichnis nicht | | gefunden
| C
| POSIX
| de_DE
| en_GB
| en_US
| fr_FR
Translation of error is (when setting en_GB on lxdm):
| locale: Cannot set LC_COLLATE to default locale: No such file or directory

Debugging the last two cases show that the error is caused for same reason:

* setlocale(LC_ALL, "") returns NULL for GTK apps
* setlocale (LC_CTYPE, "") returns NULL for 'locale -a'


Anybody with ideas what is missing/wrong on my images?

Andreas


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2016-02-05 15:27 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-03 11:49 Language settings GTK (glibc?) problem Andreas Müller
2016-02-03 14:50 ` [OE-core] " Richard Purdie
2016-02-03 14:50   ` Richard Purdie
2016-02-03 16:01   ` [OE-core] " Andreas Müller
2016-02-03 16:01     ` Andreas Müller
2016-02-04 10:09     ` [OE-core] " Andreas Müller
2016-02-04 10:09       ` Andreas Müller
2016-02-05 12:02   ` [OE-core] " Andreas Müller
2016-02-05 12:02     ` Andreas Müller
2016-02-05 12:04     ` [OE-core] " Andreas Müller
2016-02-05 12:04       ` Andreas Müller
2016-02-05 15:27     ` [OE-core] " Burton, Ross
2016-02-05 15:27       ` Burton, Ross

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.