Find the answer to your Linux question:
Results 1 to 4 of 4
With almost any application I launch I get the following: gdk-warning **: locale not supported by C library locale output locale: Cannot set LC_CTYPE to default locale: No such file ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Engineer valemon's Avatar
    Join Date
    Oct 2006
    Location
    Volos
    Posts
    934

    locale problem


    With almost any application I launch I get the following:
    gdk-warning **: locale not supported by C library
    locale output
    locale: Cannot set LC_CTYPE to default locale: No such file or directory
    locale: Cannotset LC_MESSAGES to default locale: No such file or directory
    locale: Cannotset LC_ALL to default locale: No such file or directory
    LANG=en_US.UTF8
    LC_CTYPE="en_US.UTF8"
    LC_NUMERIC="en_US.UTF8"
    LC_TIME="en_US.UTF8"
    LC_COLLATE=C
    LC_MONETARY="en_US.UTF8"
    LC_MESSAGES="en_US.UTF8"
    LC_PAPER="en_US.UTF8"
    LC_NAME="en_US.UTF8"
    LC_ADDRESS="en_US.UTF8"
    LC_TELEPHONE="en_US.UTF8"
    LC_MEASUREMENT="en_US.UTF8"
    LC_IDENTIFICATION="en_US.UTF8"
    LC_ALL=
    Any clues?
    Linux is like a Teepee, No Windows, No Gates, Only Apache Inside!
    Arch Linux
    Linux user #442041

  2. #2
    Linux Engineer Thrillhouse's Avatar
    Join Date
    Jun 2006
    Location
    Arlington, VA, USA
    Posts
    1,377
    Open up /etc/locale.gen as root and uncomment the entries for the locale you want to use. Save and close then run locale-gen as root. Restart X and you should be good.

    ArchWiki :: Configuring locales - ArchWiki

  3. #3
    Linux Engineer valemon's Avatar
    Join Date
    Oct 2006
    Location
    Volos
    Posts
    934
    Thanks, this one did it. One more question, I exported en_US.UTF-8 and the output of locale command says en_US.UTF8. Why is that?
    Linux is like a Teepee, No Windows, No Gates, Only Apache Inside!
    Arch Linux
    Linux user #442041

  4. #4
    Linux Engineer Thrillhouse's Avatar
    Join Date
    Jun 2006
    Location
    Arlington, VA, USA
    Posts
    1,377
    The locale command tells you which locale you're using so if you uncommented en_US.UTF8, ran locale-gen and then locale and it showed you en_US.UTF8 then that tells you that everything came off successfully and that you're using that locale.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •