Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
locale im gnome-terminal als root nicht UTF-8 --> [solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
tazinblack
Veteran
Veteran


Joined: 23 Jan 2005
Posts: 1146
Location: Baden / Germany

PostPosted: Fri Sep 04, 2009 1:42 pm    Post subject: locale im gnome-terminal als root nicht UTF-8 --> [solved Reply with quote

HILFE ich verzweifel gleich,

Code:
locale -a
C
de_DE
de_DE@euro
de_DE.iso88591
de_DE.iso885915@euro
de_DE.utf8
deutsch
german
POSIX


als user in nem gnome-terminal :
Code:

user1@li77x111 ~ $ locale
LANG=de_DE.utf8
LC_CTYPE="de_DE.utf8"
LC_NUMERIC="de_DE.utf8"
LC_TIME="de_DE.utf8"
LC_COLLATE="de_DE.utf8"
LC_MONETARY="de_DE.utf8"
LC_MESSAGES="de_DE.utf8"
LC_PAPER="de_DE.utf8"
LC_NAME="de_DE.utf8"
LC_ADDRESS="de_DE.utf8"
LC_TELEPHONE="de_DE.utf8"
LC_MEASUREMENT="de_DE.utf8"
LC_IDENTIFICATION="de_DE.utf8"
LC_ALL=


sobald ich aber als user folgendes mache :

Code:
gnome-terminal -x /usr/bin/sudo /usr/bin/sux


habe ich das hier

Code:
li77x111 edv-kie # locale
LANG=de_DE
LC_CTYPE="de_DE"
LC_NUMERIC="de_DE"
LC_TIME="de_DE"
LC_COLLATE="de_DE"
LC_MONETARY="de_DE"
LC_MESSAGES="de_DE"
LC_PAPER="de_DE"
LC_NAME="de_DE"
LC_ADDRESS="de_DE"
LC_TELEPHONE="de_DE"
LC_MEASUREMENT="de_DE"
LC_IDENTIFICATION="de_DE"
LC_ALL=


in der /etc/env.d/02locale hab ich das drin :

Code:
LANG="de_DE.UTF8"


Auf den Textconsolen hab ich egal wie immer de_DE.utf8


HILFE, wo soll ich noch schauen???
Ich ertrags nicht mehr!
_________________
Gruß / Regards
tazinblack
_______________________________________________________
what's the point in being grown up if you can't be childish sometimes


Last edited by tazinblack on Fri Sep 11, 2009 2:14 pm; edited 1 time in total
Back to top
View user's profile Send private message
tazinblack
Veteran
Veteran


Joined: 23 Jan 2005
Posts: 1146
Location: Baden / Germany

PostPosted: Thu Sep 10, 2009 6:05 pm    Post subject: Reply with quote

Hat denn keiner ne Idee?
_________________
Gruß / Regards
tazinblack
_______________________________________________________
what's the point in being grown up if you can't be childish sometimes
Back to top
View user's profile Send private message
Dorsai!
Apprentice
Apprentice


Joined: 27 Jul 2008
Posts: 285
Location: Bavaria

PostPosted: Thu Sep 10, 2009 6:12 pm    Post subject: Reply with quote

Also ich bin mir nicht ganz sicher aber vielleicht liegts ja daran:
Bei mir geht UTF in Textkonsolen und ich habe das in meiner /etc/env.d/02locale drinstehen:

Code:
LANG="de_DE.UTF-8"


was steht den in deiner /etc/locale.gen ?

Hast du in der /etc/rc.conf

Code:
unicode="YES"


Eingetragen?
Back to top
View user's profile Send private message
ChrisJumper
Advocate
Advocate


Joined: 12 Mar 2005
Posts: 2390
Location: Germany

PostPosted: Thu Sep 10, 2009 6:51 pm    Post subject: Reply with quote

Wirf mal einen Blick in deine ~/.bashrc.

Da hast du bestimmt einen Eintrag drin wie LANG="de_DE.utf8" und [del]ich wurde das als root dann einfach in dessen ~/.bashrc schreiben[/del].

Edit: Ach murks!

tazinblack wrote:
in der /etc/env.d/02locale hab ich das drin :
Code:
LANG="de_DE.UTF8"



Glaube das ist das Problem.

de_DE.UTF8 != de_DE.utf8
Back to top
View user's profile Send private message
tazinblack
Veteran
Veteran


Joined: 23 Jan 2005
Posts: 1146
Location: Baden / Germany

PostPosted: Fri Sep 11, 2009 1:44 pm    Post subject: Reply with quote

Dorsai! wrote:
Also ich bin mir nicht ganz sicher aber vielleicht liegts ja daran:
Bei mir geht UTF in Textkonsolen und ich habe das in meiner /etc/env.d/02locale drinstehen:

Code:
LANG="de_DE.UTF-8"


was steht den in deiner /etc/locale.gen ?

Hast du in der /etc/rc.conf

Code:
unicode="YES"


Eingetragen?


Also in meiner locale.gen steht drin :
Code:
de_DE ISO-8859-1
de_DE@euro ISO-8859-15
de_DE.UTF-8 UTF-8


in der rc.conf steht
Code:
unicode="YES"

_________________
Gruß / Regards
tazinblack
_______________________________________________________
what's the point in being grown up if you can't be childish sometimes
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4570
Location: Germany

PostPosted: Fri Sep 11, 2009 2:04 pm    Post subject: Reply with quote

Wie schaut den die "locale" Ausgabe als root nach einem
Code:
# source /etc/profile
# locale
aus?
Back to top
View user's profile Send private message
tazinblack
Veteran
Veteran


Joined: 23 Jan 2005
Posts: 1146
Location: Baden / Germany

PostPosted: Fri Sep 11, 2009 2:13 pm    Post subject: Reply with quote

ChrisJumper wrote:
Wirf mal einen Blick in deine ~/.bashrc.

Da hast du bestimmt einen Eintrag drin wie LANG="de_DE.utf8" und [del]ich wurde das als root dann einfach in dessen ~/.bashrc schreiben[/del].

Edit: Ach murks!

tazinblack wrote:
in der /etc/env.d/02locale hab ich das drin :
Code:
LANG="de_DE.UTF8"



Glaube das ist das Problem.

de_DE.UTF8 != de_DE.utf8


eine .bashrc unter /root gibt es nicht auch nicht im Homelaufwerk des users.
de_DE.utf8 hab ich jetzt in allen möglichen Schreibweisen probiert, leider ohne Erfolg

In /etc ist LANG enthalten in
Code:
grep LANG *
csh.env:setenv LANG 'de_DE.UTF8'
profile.csh:setenv LANG 'de_DE.UTF-8'
profile.env:export LANG='de_DE.UTF8'


Ganz interessant finde ich die Tatsache, dass wenn ich dann in der shell, welche ich mit
Code:
gnome-terminal -x /usr/bin/sudo /usr/bin/sux

öffne dann
Code:
env-update && source /etc/profile
ausführe, dann hab ich de_DE.utf8
also kanns ja bloß am sux liegen.

.
.
.

Oh man, ich habs gefunden ...

wenn ich das umstelle auf
Code:
gnome-terminal -x /usr/bin/sudo /usr/bin/sux -
, dann gehts.
War das wieder eine schwere Geburt.

Danke mal für die Tipps
_________________
Gruß / Regards
tazinblack
_______________________________________________________
what's the point in being grown up if you can't be childish sometimes
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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