You are not logged in.
Pages: 1
when I run gtk application like rhythmbox it works giving error like this
(process:18856): Gtk-WARNING **: 02:49:26.093: Locale not supported by C library.
but some plugins are not working at all
Traceback (most recent call last):
File "/usr/lib/rhythmbox/plugins/alternative-toolbar/alternative-toolbar.py", line 114, in do_activate
cl.switch_locale(cl.Locale.LOCALE_DOMAIN)
File "/usr/lib/rhythmbox/plugins/alternative-toolbar/alttoolbar_preferences.py", line 151, in switch_locale
locale.setlocale(locale.LC_ALL, '')
File "/usr/lib/python3.7/locale.py", line 604, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting.
this is locale output
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=en_US.UTF-8
LC_TIME=en_GB.UTF-8
LC_COLLATE=C
LC_MONETARY=ar_EG.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT=en_GB.UTF-8
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
I'v uncommented en_US.utf8 in locale.conf and generated it with locale-gen
Last edited by a7med-7amdy (2019-08-04 22:47:38)
Offline
Make sure LC_ALL isn't set in the environment. Sounds like it's set to an empty string.
Offline
Make sure LC_ALL isn't set in the environment. Sounds like it's set to an empty string.
how can I make sure?
Offline
set | grep LC_ALLwill show you if it exists, even if set to an empty string.
unset LC_ALLwil destroy it.
Last edited by papavlos (2019-07-31 13:41:17)
Offline
set | grep LC_ALLwill show you if it exists, even if set to an empty string.
unset LC_ALLwil destroy it.
this is the right solution
thank you
Offline
Pages: 1