View previous topic :: View next topic |
Author |
Message |
SeeLook Tux's lil' helper


Joined: 21 Sep 2005 Posts: 82 Location: Poland
|
Posted: Wed Jun 21, 2006 9:37 am Post subject: Polskie znaki w konsoli po aktualizacji |
|
|
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 |
|
 |
Raku Bodhisattva


Joined: 28 Feb 2004 Posts: 2374 Location: Poland
|
Posted: Wed Jun 21, 2006 11:14 am Post subject: Re: Polskie znaki w konsoli po aktualizacji |
|
|
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 |
|
 |
SeeLook Tux's lil' helper


Joined: 21 Sep 2005 Posts: 82 Location: Poland
|
Posted: Wed Jun 21, 2006 11:31 am Post subject: |
|
|
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 |
|
 |
SeeLook Tux's lil' helper


Joined: 21 Sep 2005 Posts: 82 Location: Poland
|
Posted: Thu Jun 22, 2006 10:03 am Post subject: |
|
|
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 |
|
 |
v7n Guru


Joined: 24 Jan 2006 Posts: 352
|
Posted: Thu Jun 22, 2006 11:55 am Post subject: |
|
|
A może? _________________ /~x86 /*-sources /oss /zsh /urxvt /vim /openbox /rox /xmms /Opera |
|
Back to top |
|
 |
SeeLook Tux's lil' helper


Joined: 21 Sep 2005 Posts: 82 Location: Poland
|
Posted: Thu Jun 22, 2006 12:20 pm Post subject: |
|
|
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 |
|
 |
|