Gentoo Archives: gentoo-vdr

From: Joerg Bornkessel <hd_brummy@g.o>
To: Antoine Moutiers <antoine.moutiers@×××××.com>, gentoo-vdr@l.g.o
Subject: Re[4]: [gentoo-vdr] VDR 1.5.9 failed to start
Date: Tue, 16 Oct 2007 15:44:24
Message-Id: 1281777856.20071016173155@gentoo.org
In Reply to: Re: Re[2]: [gentoo-vdr] VDR 1.5.9 failed to start by Antoine Moutiers
Hallo Antoine Moutiers,

you wrote on Dienstag, 9. Oktober 2007 / 21:58:

Sorry, did not have time to answere you fast, to much work in the
moment, anyway ...

Your utf8 locale setting is in any parts totaly wrong, do you really
need about more then 150 different locales ? ;)


This is a little bit OffTopic for the gentoo-vdr ML, but i will help you
to fix this and all other users they have the same problem.
This is a example for the french language, users from other countrys
should addapted to your language similar.

---

1. Locale setting in /etc/locale.gen

add following to this file

en_US ISO-8859-1
en_US.UTF-8 UTF-8
fr_FR ISO-8859-1
fr_FR@euro ISO-8859-15
fr_FR.utf8 UTF-8

after this run locale-gen in console.
This will reduce the locales of a minimum

locale -a should then give following output:

C
fr_FR
fr_FR@euro
fr_FR.utf8
en_US
en_US.utf8
POSIX 

Notice the exact spelling of utf8, this is very importend for
the next step. This is casesensitiv !!!

2. Edit the /etc/env.d/02locale

add only this lines

LANG="fr_FR.utf8"
LC_ALL="fr_FR.utf8"
GDM_LANG="fr_FR.utf8"

write this utf8 exact in the same spelling from your locale -a
output.

after this run

env-update && source /etc/profile  in console.

your ouptut of locale should then be:

LANG=frFR.utf8
LC_CTYPE="fr_FR.utf8"
...
...
LC_IDENTIFICATION="fr_FR.utf8"
LC_ALL=fr_FR.utf8


Beside on this note, your kernel setting should be support utf8 NLS:

(utf8) Default NLS Option
<*>   NLS UTF8

After this all is your locale setting ok on your system.

----

The settings in /etc/conf.d/vdr should then be ok

VDR_SORT_ORDER="fr_FR"

LANG="fr_FR.utf8"  # i didnt set this, the startscripts takes
automaticly the right one :)

Now should the VDR starts without problems.


Cheers , Bon jour, Salute :)


-- 
Visit us on IRC: Freenode  #gentoo-vdr

Gentoo Developer
mailto: hd_brummy@g.o



-- 
gentoo-vdr@g.o mailing list