Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[LOCALE] Le FR est accéssible en ROOT seulement, (résolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
evil
Tux's lil' helper
Tux's lil' helper


Joined: 18 Oct 2003
Posts: 103

PostPosted: Mon May 24, 2004 1:24 pm    Post subject: [LOCALE] Le FR est accéssible en ROOT seulement, (résolu) Reply with quote

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 :wink:


Last edited by evil on Mon May 24, 2004 11:03 pm; edited 2 times in total
Back to top
View user's profile Send private message
kernelsensei
Bodhisattva
Bodhisattva


Joined: 22 Feb 2004
Posts: 5619
Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)

PostPosted: Mon May 24, 2004 1:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
ghoti
Advocate
Advocate


Joined: 30 Dec 2002
Posts: 3634
Location: Belgium

PostPosted: Mon May 24, 2004 1:45 pm    Post subject: Reply with quote

kernel_sensei wrote:
si tu le veux pour le system, te fais pas chier et reboot !

HERESIE ! :evil:
Back to top
View user's profile Send private message
kernelsensei
Bodhisattva
Bodhisattva


Joined: 22 Feb 2004
Posts: 5619
Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)

PostPosted: Mon May 24, 2004 3:05 pm    Post subject: Reply with quote

ghoti wrote:
kernel_sensei wrote:
si tu le veux pour le system, te fais pas chier et reboot !

HERESIE ! :evil:


oui je sais :P

mais bon, ca c'est pour etre sur qu'il aura que des nouveaux shells et que ca marchera :D

bon, ok je sors ... kill -9 -1
_________________
$ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join'
Back to top
View user's profile Send private message
julienm
Tux's lil' helper
Tux's lil' helper


Joined: 13 Dec 2003
Posts: 101
Location: bruxelles

PostPosted: Mon May 24, 2004 4:33 pm    Post subject: Reply with quote

tu as peut-être juste oublié un p'tit "source /etc/profile'" apres le env-update.
Back to top
View user's profile Send private message
evil
Tux's lil' helper
Tux's lil' helper


Joined: 18 Oct 2003
Posts: 103

PostPosted: Mon May 24, 2004 5:58 pm    Post subject: Reply with quote

# 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 :o
Back to top
View user's profile Send private message
evil
Tux's lil' helper
Tux's lil' helper


Joined: 18 Oct 2003
Posts: 103

PostPosted: Mon May 24, 2004 6:00 pm    Post subject: Reply with quote

ça marche 8) 8) 8)

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
View user's profile Send private message
evil
Tux's lil' helper
Tux's lil' helper


Joined: 18 Oct 2003
Posts: 103

PostPosted: Mon May 24, 2004 8:34 pm    Post subject: Reply with quote

:oops:
ça ne marche que en ROOT mais aps avec mes autres utilisateurs :oops:
Back to top
View user's profile Send private message
kernelsensei
Bodhisattva
Bodhisattva


Joined: 22 Feb 2004
Posts: 5619
Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)

PostPosted: Mon May 24, 2004 8:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
evil
Tux's lil' helper
Tux's lil' helper


Joined: 18 Oct 2003
Posts: 103

PostPosted: Mon May 24, 2004 8:43 pm    Post subject: Reply with quote

Les locales sont bonnes après un "su"...
Avec "su evil" ça ne fonctionne pas non plus :'(
Back to top
View user's profile Send private message
scout
Veteran
Veteran


Joined: 08 Mar 2003
Posts: 1991
Location: France, Paris en Semaine / Metz le W-E

PostPosted: Mon May 24, 2004 8:55 pm    Post subject: Reply with quote

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 8)
_________________
http://petition.eurolinux.org/ - Petition against ePatents
L'essence de la finesse
Back to top
View user's profile Send private message
BobDylan
Tux's lil' helper
Tux's lil' helper


Joined: 10 Dec 2003
Posts: 135
Location: On The Road

PostPosted: Mon May 24, 2004 8:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
evil
Tux's lil' helper
Tux's lil' helper


Joined: 18 Oct 2003
Posts: 103

PostPosted: Mon May 24, 2004 9:28 pm    Post subject: Reply with quote

Avec "su - evil" ça marche 8)

Maintenant reste à savoir pourquoi ça chie quand je me connecte direct avec mon compte user :cry:
Back to top
View user's profile Send private message
scout
Veteran
Veteran


Joined: 08 Mar 2003
Posts: 1991
Location: France, Paris en Semaine / Metz le W-E

PostPosted: Mon May 24, 2004 9:32 pm    Post subject: Reply with quote

evil wrote:
Maintenant reste à savoir pourquoi ça chie quand je me connecte direct avec mon compte user :cry:

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
View user's profile Send private message
evil
Tux's lil' helper
Tux's lil' helper


Joined: 18 Oct 2003
Posts: 103

PostPosted: Mon May 24, 2004 9:39 pm    Post subject: Reply with quote

non, j'utilise aucun outil spécial pour me logguer :o
Back to top
View user's profile Send private message
kernelsensei
Bodhisattva
Bodhisattva


Joined: 22 Feb 2004
Posts: 5619
Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)

PostPosted: Mon May 24, 2004 9:41 pm    Post subject: Reply with quote

evil wrote:
Avec "su - evil" ça marche 8)

Maintenant reste à savoir pourquoi ça chie quand je me connecte direct avec mon compte user :cry:


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
View user's profile Send private message
evil
Tux's lil' helper
Tux's lil' helper


Joined: 18 Oct 2003
Posts: 103

PostPosted: Mon May 24, 2004 9:44 pm    Post subject: Reply with quote

Non j'ai pas rebooter :o Je termine un truc, et je reboot ;)
Back to top
View user's profile Send private message
ghoti
Advocate
Advocate


Joined: 30 Dec 2002
Posts: 3634
Location: Belgium

PostPosted: Mon May 24, 2004 10:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
evil
Tux's lil' helper
Tux's lil' helper


Joined: 18 Oct 2003
Posts: 103

PostPosted: Mon May 24, 2004 11:03 pm    Post subject: Reply with quote

arf, j'ai rebooté avant de voir ce message :oops:

Sinon effectivement il suffisait d'une réinitialisation :wink:

Merci à tous
Back to top
View user's profile Send private message
kernelsensei
Bodhisattva
Bodhisattva


Joined: 22 Feb 2004
Posts: 5619
Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)

PostPosted: Tue May 25, 2004 4:19 am    Post subject: Reply with quote

ben voila :D
_________________
$ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join'
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum