Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Polskie znaki w konsoli po aktualizacji
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Instalacja i sprzęt
View previous topic :: View next topic  
Author Message
SeeLook
Tux's lil' helper
Tux's lil' helper


Joined: 21 Sep 2005
Posts: 82
Location: Poland

PostPosted: Wed Jun 21, 2006 9:37 am    Post subject: Polskie znaki w konsoli po aktualizacji Reply with quote

Zapuściłem po ostanich dwóch tygodniach emerge --sync i emerge -uD world. Oprócz stricte medialnych uaktualnień (mplayer, vlc, amarok) aktualizowało się również portage do ver 2.1 i glibc-2.3.6-r4.
Po rc-update (te conf-igi robione z palca nie dotyczyły żadnych ustawień językowych) okazało sie, że np. czcionkę w konsoli (/etc/conf.d/consolefont) mam przestawioną na domyślną. Jeszcze raz zrobiłem tak jak w instrukcji: http://www.gentoo.org/doc/pl/guide-localization.xml
To znaczy:

    - ustawiłem LANG i LC_ALL w .bashrc wszystkich userów
    - utworzyłem plik /etc/env.d/02locale z wpisami dla j. polskiego
    - sprawdziłem że w make.conf mam LINGUAS="pl en"
    - a w /etc/portage/package.use są odpowiednie wpisy dla polskiej lokalizacji
    - ustawiłem /etc/conf.d/consolefont na CONSOLEFONT="lat2a-16"


Niestety dalej mam krzaki w konsoli:
Code:
$ rm -i costam
rm: usun?? zwyk?y plik `costam'?

a wywołanie np. opery daje taki komunikat:
Code:
$ opera
Qt: Locales not supported on X server

Ale nie wiem co mogę z tym zrobić.
Pomozecie ? ;)
Back to top
View user's profile Send private message
Raku
Bodhisattva
Bodhisattva


Joined: 28 Feb 2004
Posts: 2374
Location: Poland

PostPosted: Wed Jun 21, 2006 11:14 am    Post subject: Re: Polskie znaki w konsoli po aktualizacji Reply with quote

SeeLook wrote:
Code:
$ rm -i costam
rm: usun?? zwyk?y plik `costam'?

to chyba błąd w coreutils - złe kodowanie pl liter. Ma być naprawione w nowym wydaniu coreutils, więc pozostaje czekać na nowy upstream lub zainstalować starszą wersję.

masz system stabilny czy testowy?
bo ta zepsuta wersja coreutils należy do ~, ale w ~ jest też glibc-2.4, a nie 2.3.6. No i portage masz z ~
Więc jeśli masz jednak ~, to zmienił się sposób generownaia polskich locali. Poczytaj w ebuildzie o zmianach.
_________________
raku

Powered by Archlinux ;-)
Back to top
View user's profile Send private message
SeeLook
Tux's lil' helper
Tux's lil' helper


Joined: 21 Sep 2005
Posts: 82
Location: Poland

PostPosted: Wed Jun 21, 2006 11:31 am    Post subject: Reply with quote

Mam tylko odmaskowane:
sys-libs/libstdc++-v3 ~x86
sys-devel/gcc ~x86
bo mam gcc-4.1
glibc-2.3.6-r4 jest stabilne dla x86
sys-apps/coreutils-5.94-r1 też jest stabilne

Więc o co chodzi ?
Back to top
View user's profile Send private message
SeeLook
Tux's lil' helper
Tux's lil' helper


Joined: 21 Sep 2005
Posts: 82
Location: Poland

PostPosted: Thu Jun 22, 2006 10:03 am    Post subject: Reply with quote

Niestety problem jest poważniejszy, bo nie działają polskie znaki w apletach javy w firefoxie i nie mogę wykonać przelewu.
Firefox krzyczy przy starcie:
Quote:
(firefox-bin:6164): Gdk-WARNING **: locale not supported by Xlib
(firefox-bin:6164): Gdk-WARNING **: cannot set locale modifiers
a inne apps-y na QT:
Quote:
Qt: Locales not supported on X server

Przechodziłęm podobny problem pod Ubuntu i tam pomogło:
Code:
dpkg-reconfigure locales

Ale nie wiem jak coś podobnego zrobić w Gentoo
Back to top
View user's profile Send private message
v7n
Guru
Guru


Joined: 24 Jan 2006
Posts: 352

PostPosted: Thu Jun 22, 2006 11:55 am    Post subject: Reply with quote

A może
Code:
# man locale-gen
?
_________________
/~x86 /*-sources /oss /zsh /urxvt /vim /openbox /rox /xmms /Opera
Back to top
View user's profile Send private message
SeeLook
Tux's lil' helper
Tux's lil' helper


Joined: 21 Sep 2005
Posts: 82
Location: Poland

PostPosted: Thu Jun 22, 2006 12:20 pm    Post subject: Reply with quote

dokumentacja jest nieaktualna
ma być plik /etc/locale.gen
a w nim
en_US ISO-8859-1
en_US.UTF-8 UTF-8
pl_PL ISO-8859-2
pl_PL.UTF-8 UTF-8

I wszystko działa
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Instalacja i sprzęt 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