Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Other Distributions > Arch Linux Help > locale problem

Forgot Password?
 Arch Linux Help   Help an discussion related to Arch

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 01-22-2008   #1 (permalink)
Linux Engineer
 
valemon's Avatar
 
Join Date: Oct 2006
Location: Volos
Posts: 914
Send a message via MSN to valemon Send a message via Skype™ to valemon
locale problem

With almost any application I launch I get the following:
Quote:
gdk-warning **: locale not supported by C library
locale output
Quote:
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/Moblin
Linux user #442041
valemon is offline  


Reply With Quote
Old 01-22-2008   #2 (permalink)
Linux Engineer
 
Thrillhouse's Avatar
 
Join Date: Jun 2006
Location: Arlington, VA, USA
Posts: 1,366
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
Thrillhouse is offline   Reply With Quote
Old 01-22-2008   #3 (permalink)
Linux Engineer
 
valemon's Avatar
 
Join Date: Oct 2006
Location: Volos
Posts: 914
Send a message via MSN to valemon Send a message via Skype™ to valemon
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/Moblin
Linux user #442041
valemon is offline   Reply With Quote
Old 01-22-2008   #4 (permalink)
Linux Engineer
 
Thrillhouse's Avatar
 
Join Date: Jun 2006
Location: Arlington, VA, USA
Posts: 1,366
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.
Thrillhouse is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 06:45 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2