Most X apps warn about locale not supported

Bug #40761 reported by Fjodor
8
Affects Status Importance Assigned to Milestone
libx11 (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

After a dist-upgrade from breezy to dapper, most X apps display

Warning: locale not supported by Xlib, locale set to C

or

Gdk-WARNING **: locale not supported by Xlib

or similar when started from a terminal. Furthermore, I suspect that this is the cause of another problem, where emacs won't let me enter Danish chars.

sune@jekaterina:~$ locale -a
C
da_DK.utf8
en_AU.utf8
en_BW.utf8
en_CA.utf8
en_DK.utf8
en_GB.utf8
en_HK.utf8
en_IE.utf8
en_IN
en_NZ.utf8
en_PH.utf8
en_SG.utf8
en_US.utf8
en_ZA.utf8
en_ZW.utf8
POSIX
sune@jekaterina:~$ locale
LANG=en_DK.UTF-8
LANGUAGE=en_DK:en
LC_CTYPE="en_DK.UTF-8"
LC_NUMERIC="en_DK.UTF-8"
LC_TIME="en_DK.UTF-8"
LC_COLLATE="en_DK.UTF-8"
LC_MONETARY="en_DK.UTF-8"
LC_MESSAGES="en_DK.UTF-8"
LC_PAPER="en_DK.UTF-8"
LC_NAME="en_DK.UTF-8"
LC_ADDRESS="en_DK.UTF-8"
LC_TELEPHONE="en_DK.UTF-8"
LC_MEASUREMENT="en_DK.UTF-8"
LC_IDENTIFICATION="en_DK.UTF-8"
LC_ALL=
sune@jekaterina:~$

I note that /usr/share/locale is mostly about other locales than utf-8 ones, and this is, to my understanding, the ones used by libx11 (Xlib).

Revision history for this message
Niels Kristian Bech Jensen (nkbjensen) wrote :

I can confirm this bug using the ISO-8859-1 version of the en_DK locale. It might be specific to en_DK.

nkbj@hafnium:~$ locale
LANG=en_DK
LANGUAGE=en_DK:en
LC_CTYPE="en_DK"
LC_NUMERIC="en_DK"
LC_TIME="en_DK"
LC_COLLATE="en_DK"
LC_MONETARY="en_DK"
LC_MESSAGES="en_DK"
LC_PAPER="en_DK"
LC_NAME="en_DK"
LC_ADDRESS="en_DK"
LC_TELEPHONE="en_DK"
LC_MEASUREMENT="en_DK"
LC_IDENTIFICATION="en_DK"
LC_ALL=

Revision history for this message
Niels Kristian Bech Jensen (nkbjensen) wrote :

A follow-up: I think it's this bug that prevent me from using the dead keys on my keyboard på type diacritical marks in oowriter using the en_DK locale. It works when starting oowriter like this:

LANG=da_DK.UTF8 oowriter

Regards,
Niels Kristian

Revision history for this message
Fabio Massimo Di Nitto (fabbione) wrote :

libx11 (2:1.0.0-0ubuntu8) dapper; urgency=low

  * Add en_DK in locale.{dir,alias}.pre.
  (Closes Ubuntu: #40761)

 -- Fabio M. Di Nitto <email address hidden> Tue, 09 May 2006 16:03:58 +0200

Changed in libx11:
status: Unconfirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.