Home
| Calendar
| Mail Lists
| List Archives
| Desktop SIG
| Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 25 Feb 2004 10:24:59 -0500 (EST) David Kramer <david at thekramers.net> wrote: > > On my SuSE 9.0 box at work, when I open up a shell in konsole, I see > the message: > 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 > > When I log into a tty in text mode, it doesn't happen. > When I use xterm, it doesn't happen. > When I log in as root in konsole, it DOES happen, which is confusing. > > I don't know enough about how the locale system gets set up to > diagnose this, but I've been comparing files between my home box and > my work box, and I haven't found the silver bullet. > > > Any clues? For the most part, you can set your locale up as either C on en_US Your locales should be in /usr/lib/locales. The default locale that you should have set in YaST should have been "en_US". You can set this in YaST/System/Choose Language. Click on details, and make sure that the locales for root are set for ctype. You can force the locale in your .bashrc script or .profile. LC_ALL will force all the other locales to be set. If you noticed un SuSE 9.0, the sorting of the ls -la directory listing is case insensitive. Set LC_ALL="C", and you will see a change in the sorting of the directory. In short, the locale affects the formatting of some underlying things, such as money, and it also affects how things sort, and the language. I was playing with the locales the other day and got japanese dialog boxes. - -- Jerry Feldman <gaf at blu.org> Boston Linux and Unix user group http://www.blu.org PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQFAPPIT+wA+1cUGHqkRAlqjAJ9FQBDsGJ6yQtCSAm90KxMWCYzI6QCeK7ni tmou4chJCnsTknrmx53J0aM= =SD6k -----END PGP SIGNATURE-----
BLU is a member of BostonUserGroups | |
We also thank MIT for the use of their facilities. |