View previous topic :: View next topic |
Author |
Message |
evil Tux's lil' helper
Joined: 18 Oct 2003 Posts: 103
|
Posted: Mon May 24, 2004 1:24 pm Post subject: [LOCALE] Le FR est accéssible en ROOT seulement, (résolu) |
|
|
EDIT: Bon les locale sont bien en FR lorsque je suis en root, mais par contre avec mon user, j'ai toujours tout en Anglais :'(
Que faire cette fois ci
Bonjour,
J'ai lu le topic en post-it: j'ai créé un fichier /etc/env.d/02locales et dedans ya
Code: | LANG="fr_FR@euro"
LANGUAGE="fr_FR@euro"
LC_ALL="fr_FR@euro" |
Je fait un "env-update" pour mettre à jour le système et je refais un "locale" et j'ai toutjours:
Code: |
# locale
LANG=POSIX
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
|
J'ai oublié de faire qqc mais quoi
Merci de votre aide
Last edited by evil on Mon May 24, 2004 11:03 pm; edited 2 times in total |
|
Back to top |
|
|
kernelsensei Bodhisattva
Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Mon May 24, 2004 1:33 pm Post subject: |
|
|
Code: | localedef --list-archive |grep FR |
te sort quoi ?
Au fait, ca sera seulement pris en compte pour les nouveaux shells
si tu le veux pour le system, te fais pas chier et reboot ! _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
|
ghoti Advocate
Joined: 30 Dec 2002 Posts: 3634 Location: Belgium
|
Posted: Mon May 24, 2004 1:45 pm Post subject: |
|
|
kernel_sensei wrote: | si tu le veux pour le system, te fais pas chier et reboot ! |
HERESIE ! |
|
Back to top |
|
|
kernelsensei Bodhisattva
Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Mon May 24, 2004 3:05 pm Post subject: |
|
|
ghoti wrote: | kernel_sensei wrote: | si tu le veux pour le system, te fais pas chier et reboot ! |
HERESIE ! |
oui je sais
mais bon, ca c'est pour etre sur qu'il aura que des nouveaux shells et que ca marchera
bon, ok je sors ... kill -9 -1 _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
|
julienm Tux's lil' helper
Joined: 13 Dec 2003 Posts: 101 Location: bruxelles
|
Posted: Mon May 24, 2004 4:33 pm Post subject: |
|
|
tu as peut-être juste oublié un p'tit "source /etc/profile'" apres le env-update. |
|
Back to top |
|
|
evil Tux's lil' helper
Joined: 18 Oct 2003 Posts: 103
|
Posted: Mon May 24, 2004 5:58 pm Post subject: |
|
|
# localedef --list-archive |grep FR
br_FR
br_FR.iso88591
fr_FR
fr_FR.iso88591
fr_FR.iso885915@euro
fr_FR@euro
oc_FR
oc_FR.iso88591
Voilà ce que ça me donne |
|
Back to top |
|
|
evil Tux's lil' helper
Joined: 18 Oct 2003 Posts: 103
|
Posted: Mon May 24, 2004 6:00 pm Post subject: |
|
|
ça marche
Finalement ça me donne:
Code: |
# locale
LANG=fr_FR@euro
LC_CTYPE="fr_FR@euro"
LC_NUMERIC="fr_FR@euro"
LC_TIME="fr_FR@euro"
LC_COLLATE="fr_FR@euro"
LC_MONETARY="fr_FR@euro"
LC_MESSAGES="fr_FR@euro"
LC_PAPER="fr_FR@euro"
LC_NAME="fr_FR@euro"
LC_ADDRESS="fr_FR@euro"
LC_TELEPHONE="fr_FR@euro"
LC_MEASUREMENT="fr_FR@euro"
LC_IDENTIFICATION="fr_FR@euro"
LC_ALL=fr_FR@euro |
|
|
Back to top |
|
|
evil Tux's lil' helper
Joined: 18 Oct 2003 Posts: 103
|
Posted: Mon May 24, 2004 8:34 pm Post subject: |
|
|
ça ne marche que en ROOT mais aps avec mes autres utilisateurs |
|
Back to top |
|
|
kernelsensei Bodhisattva
Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Mon May 24, 2004 8:40 pm Post subject: |
|
|
ca marche en root apres un login en root ou bien apres un su ?
essaye voir :
su <ton_user>
est ce que apres ca, la locale a changé ? (j'ai deja eu des cas ou ca marchait que avec su ... il me semble que pour que ca marche sans su ya un truc a relancer, je sais plus ! _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
|
evil Tux's lil' helper
Joined: 18 Oct 2003 Posts: 103
|
Posted: Mon May 24, 2004 8:43 pm Post subject: |
|
|
Les locales sont bonnes après un "su"...
Avec "su evil" ça ne fonctionne pas non plus :'( |
|
Back to top |
|
|
scout Veteran
Joined: 08 Mar 2003 Posts: 1991 Location: France, Paris en Semaine / Metz le W-E
|
Posted: Mon May 24, 2004 8:55 pm Post subject: |
|
|
evil wrote: | Les locales sont bonnes après un "su"...
Avec "su evil" ça ne fonctionne pas non plus :'( |
Et avec su - evil ?
[Off]Oui 1000 eme post, on ouvre le champagne, ceux qui sont dans le coin peuvent venir boire avec moi, je suis dans le 13eme _________________ http://petition.eurolinux.org/ - Petition against ePatents
L'essence de la finesse |
|
Back to top |
|
|
BobDylan Tux's lil' helper
Joined: 10 Dec 2003 Posts: 135 Location: On The Road
|
Posted: Mon May 24, 2004 8:58 pm Post subject: |
|
|
Bon.
Alors tu sors de xfree si tu y es.
Tu sors du shell (Control-D).
Tu te relogues.
Tu regardes si ça marche.
Sinon tu te jettes par la fenêtre. |
|
Back to top |
|
|
evil Tux's lil' helper
Joined: 18 Oct 2003 Posts: 103
|
Posted: Mon May 24, 2004 9:28 pm Post subject: |
|
|
Avec "su - evil" ça marche
Maintenant reste à savoir pourquoi ça chie quand je me connecte direct avec mon compte user |
|
Back to top |
|
|
scout Veteran
Joined: 08 Mar 2003 Posts: 1991 Location: France, Paris en Semaine / Metz le W-E
|
Posted: Mon May 24, 2004 9:32 pm Post subject: |
|
|
evil wrote: | Maintenant reste à savoir pourquoi ça chie quand je me connecte direct avec mon compte user |
Tu n'utiliserais pas qingy pour te logger par hasard ? _________________ http://petition.eurolinux.org/ - Petition against ePatents
L'essence de la finesse |
|
Back to top |
|
|
evil Tux's lil' helper
Joined: 18 Oct 2003 Posts: 103
|
Posted: Mon May 24, 2004 9:39 pm Post subject: |
|
|
non, j'utilise aucun outil spécial pour me logguer |
|
Back to top |
|
|
kernelsensei Bodhisattva
Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Mon May 24, 2004 9:41 pm Post subject: |
|
|
evil wrote: | Avec "su - evil" ça marche
Maintenant reste à savoir pourquoi ça chie quand je me connecte direct avec mon compte user |
Moi aussi j'avais ce pb, mais il me semble qu'apres un reboot ca allait ... en fait j'ai reboote car je ne savais pas quel service redemarrer et j'avais pas le temps de chercher ...
As tu relancé la machine depuis le changement des locales (si quelqu'un a la technique rebootless je prends !) _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
|
evil Tux's lil' helper
Joined: 18 Oct 2003 Posts: 103
|
Posted: Mon May 24, 2004 9:44 pm Post subject: |
|
|
Non j'ai pas rebooter Je termine un truc, et je reboot |
|
Back to top |
|
|
ghoti Advocate
Joined: 30 Dec 2002 Posts: 3634 Location: Belgium
|
Posted: Mon May 24, 2004 10:45 pm Post subject: |
|
|
kernel_sensei wrote: | (si quelqu'un a la technique rebootless je prends !) |
Une séquence rc single suivi de rc boot et de rc default, ça devrait déjà réinitialiser pas mal de choses |
|
Back to top |
|
|
evil Tux's lil' helper
Joined: 18 Oct 2003 Posts: 103
|
Posted: Mon May 24, 2004 11:03 pm Post subject: |
|
|
arf, j'ai rebooté avant de voir ce message
Sinon effectivement il suffisait d'une réinitialisation
Merci à tous |
|
Back to top |
|
|
kernelsensei Bodhisattva
Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Tue May 25, 2004 4:19 am Post subject: |
|
|
ben voila _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
|
|