View previous topic :: View next topic |
Author |
Message |
netshade Tux's lil' helper


Joined: 02 Jan 2004 Posts: 90 Location: Sweden
|
Posted: Thu Jul 01, 2004 2:25 am Post subject: Svensk locale problem... |
|
|
Vet inte exakt hur man ska beskriva det, men jag har problem med åäö i X (terminaler), det fungerar utmärkt i Gaim, browsers, mail-program osv, men i console / terminalen fungerar det inget vidare... Får dessutom alltid upp varningar över mina locale-inställningar (vilka har fungerat alldeles utmärkt tills jag uppdaterade något paket (glibc?) som jag inte minns vad det heter.)
När jag gör <locale> så får jag:
Code: |
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
LANG=sv_SE
LC_CTYPE="sv_SE"
LC_NUMERIC="sv_SE"
LC_TIME="sv_SE"
LC_COLLATE="sv_SE"
LC_MONETARY="sv_SE"
LC_MESSAGES="sv_SE"
LC_PAPER="sv_SE"
LC_NAME="sv_SE"
LC_ADDRESS="sv_SE"
LC_TELEPHONE="sv_SE"
LC_MEASUREMENT="sv_SE"
LC_IDENTIFICATION="sv_SE"
LC_ALL=sv_SE
|
Någon som kan se vad som är fel, jag har förmodligen stirrat mig blind.
/etc/env.d/02locale ser ut så här:
Code: |
LANGUAGE="en_US"
LC_ALL="sv_SE"
LC_TELEPHONE="sv_SE"
LANG="en_US"
LC_CTYPE="sv_SE"
LC_NUMERIC="sv_SE"
LC_TIME="sv_SE"
LC_MONETARY="sv_SE"
LC_ADDRESS="sv_SE"
LC_COLLATE="sv_SE"
LC_NAME="sv_SE"
LC_PAPER="sv_SE"
LC_NUMERIC="sv_SE"
SYSFONT="lat0-16"
LC_MEASUREMENT="sv_SE"
LC_MESSAGES="en_US"
LC_IDENTIFICATION="sv_SE@euro"
|
_________________ From where the shadows turn into nightmare, netshade greets you... |
|
Back to top |
|
 |
netshade Tux's lil' helper


Joined: 02 Jan 2004 Posts: 90 Location: Sweden
|
Posted: Sun Jul 04, 2004 11:16 am Post subject: |
|
|
Eftersom ingen verkar veta nåt så kan jag sprida lite mer ljus över det hela. (Jag är novis, så det går inte så fort för mig att klura på egen hand.)
Om jag gör locale -a så listas inte sv_SE (Eller någon annan svensk möjlighet) Borde nog installera om paketet, men jag är lite osäker på exakt vilket det är som ger mig locale, någon som kan hjälpa till med det iaf? _________________ From where the shadows turn into nightmare, netshade greets you... |
|
Back to top |
|
 |
megadonkey Apprentice


Joined: 24 Apr 2004 Posts: 224 Location: Bohuslän, Sweden
|
Posted: Sun Jul 04, 2004 10:16 pm Post subject: |
|
|
Code: | borg portage # qpkg -f /usr/bin/locale
sys-libs/glibc * |
Verkar som locale hör till glibc.
Har du nls i dina USE-flaggor?
Vad säger:
? _________________ Life, loathe it or ignore it, you can't like it.
Last edited by megadonkey on Sun Jul 04, 2004 10:21 pm; edited 1 time in total |
|
Back to top |
|
 |
netshade Tux's lil' helper


Joined: 02 Jan 2004 Posts: 90 Location: Sweden
|
Posted: Sun Jul 04, 2004 10:20 pm Post subject: |
|
|
Njae, inget nls i USE, men det hjälpte med en re-emerge på glibc... Märkte när jag listade alla locales att det slutade med spanish, vilket utelämnar en hel del. Efter re-emerge så fungerar det som det ska igen.  _________________ From where the shadows turn into nightmare, netshade greets you... |
|
Back to top |
|
 |
megadonkey Apprentice


Joined: 24 Apr 2004 Posts: 224 Location: Bohuslän, Sweden
|
Posted: Sun Jul 04, 2004 10:24 pm Post subject: |
|
|
Gött mos!  _________________ Life, loathe it or ignore it, you can't like it. |
|
Back to top |
|
 |
|