> Here's a hint at the source of the problem:
> http://www.in-ulm.de/~mascheck/locale/
> "
> XFree86 Xlib calls setlocale(3), but with values in
> /usr/X11R6/lib/X11/locale/. If you - particularly after an upgrade - get
> a "Warning: locale not supported by Xlib, locale set to C", then have a
> look into locale.alias in that directory and adjust it, in case.
> (Details from Olav Kvittem.)
> "
> 
> ...
> 
> The /usr/share/X11/locale dir contains these files:
> compose.dir
> locale.alias
> locale.dir

adding the requisite/ corresponding lines for my custom chosen locale
into each of the above 3 files, namely
/usr/share/X11/locale/compose.dir
/usr/share/X11/locale/locale.alias
/usr/share/X11/locale/locale.dir

handles the X/X11/xterm etc problem - I think in particular it is the
/usr/share/X11/locale/locale.alias
file which must be updated for xlib to not spew out its error.

Works for me.

Conclusion for me: these files either need to be auto updated by
/usr/sbin/locale-gen , or a big command line WARNING ought be displayed
suggesting to the end user who has changed (customized) their locale, to
update those files to ensure X can find the specifics/ overridden data
thingies that it needs. Would be nice to have.

Reply via email to