Gtk-WARNING **: Locale not supported by C library.
alexbestms at math.uni-muenster.de
Wed Jul 1 21:10:49 UTC 2009
i've been getting this warning for ages now:
(process:7757): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
and really like to get rid of it. i searched google but couldn't find a real
solution. my locale settings are:
i've tried various settings and the only way to get rid of the warning is
settings LANG and LC_ALL to "C". if any of the variables isn't set to C the
warning will come up again.
the app that is triggering the warning is firefox. the strange thing is that
all other gtk apps start without this warning except the acrobat reader which
is however a linux app. i thought maybe the problem is being caused by
linux-gtk2 port. i'm using the native freebsd firefox version but since i'm
using linux plugins in firefox they might be causing the gtk warning.
i did a `chroot /compat/linux bash` and ran locale (the linux version). this
is the output:
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
if i set LANG and LC_ALL to "C" under the native freebsd ENV and switch to the
linux ENV locale's (linux version) output looks just fine:
so i guess the GTK warning is in fact being triggered by the linux-gtk2 port.
can anybody tell me what's wrong with the linux ENV locale settings?
thanks in advance.
More information about the freebsd-questions