Unsupported locale errors in XOrg
coolshanth94 at gmail.com
Wed Apr 11 16:42:58 UTC 2018
does contain the line
doesn't contain a line beginning with
does contain lines beginning with
en_HK.utf8, en_HK.iso88591, etc.
is fully commented except for the following two uncommented lines:
doesn't contain the string en_HK.UTF-8
Then, I ran sudo update-locale LANG="en_HK.utf-8" LANGUAGE="en_HK" and rebooted
my locale was changed to the following:
But I'm still seeing the same errors.
I don't know if this means anything, but I can't find any locales
starting with en_HK under /usr/share/X11/locale,
though I do see en_US.UTF-8.
That was the closest thread I found that matches my issue, though I'm
quite confident the root cause is entirely different.
I've seen this error for the first time a few years back and every
time I boot into a new install of Ubuntu desktop (the installer
detects IP country and uses it to set the locale),
though I've always ignored it and forced the default locale to en_US.UTF-8.
On Tue, Apr 10, 2018 at 4:08 PM, Thomas Lübking <thomas.luebking at gmx.de> wrote:
> On Tue, Apr 10, 2018 at 02:17:13AM +0800, Prashanth Chandra wrote:
>> I'm getting "unsupported locale" warnings and crashes when running
>> programs such as xterm or dmenu on a clean install of Ubuntu 17.10
>> warning: no locale support
>> Warning: locale not supported by Xlib, locale set to C
>> Here's the offending line from dmenu's source code:
>> if (!setlocale(LC_CTYPE, "") || !XSupportsLocale())
>> fputs("warning: no locale support\n", stderr);
> You certainly have bleachbit installed ...?
> xorg at lists.x.org: X.Org support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: https://lists.x.org/mailman/listinfo/xorg
> Your subscription address: %(user_address)s
More information about the xorg