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

Joined: 12 Nov 2006 Posts: 142 Location: Bydgoszcz
|
Posted: Sun Nov 11, 2007 9:07 pm Post subject: Brak polskich liter w konsoli |
|
|
Wykonałem wszystko co było potrzeba w podręczniku http://forums.gentoo.org/viewtopic.php?t=179057 i mam większość komunikatów po polsku w konsoli (skosiłem Gnome wiec nie mam X'ów) ale system nie wyświetla po załadowaniu polskich literek np w elinks czy mc(nazwy katalogów) a jak w konsoli nacisnę ALT+A to mam krzaczek zamiast "ą". Najfajniejsze jest to ,że jak system podczas startu ładuje moduły czy wykonuje scan plików to polskie znaki są :/
Co powinienem teraz zrobić aby to prawidłowo zadziałało?? Powinienem zająć się kodowaniem UTF-8 wedle opisu http://www.gentoo.org/doc/pl/utf-8.xml czy to nie jest konieczne??
Proszę o pomoc. _________________ Gentoo na razie mnie pokonuje ale walcze |
|
| Back to top |
|
 |
Yatmai Veteran


Joined: 12 Nov 2005 Posts: 1501 Location: Kraków
|
Posted: Sun Nov 11, 2007 11:13 pm Post subject: |
|
|
Po instalacji (od zera) modyfikuje wpisy:
/etc/conf.d/keymaps KEYMAP="pl"
/etc/conf.d/consolefont CONSOLEFONT="lat2a-16"
/etc/rc.conf UNICODE="no"
I musi działać  _________________ Desktop: [Ath64 X2 2GB DDR2 GF76GT] [amd64] [2.6.29-gentoo] [nVidia] [KDE 3.5.10]
Lapek: [HP nc6000] [i686] [2.6.29-ARCH] [ati-open] [KDE 3.5.10] |
|
| Back to top |
|
 |
Wielebny Tux's lil' helper

Joined: 12 Nov 2006 Posts: 142 Location: Bydgoszcz
|
Posted: Mon Nov 12, 2007 6:35 am Post subject: |
|
|
| Yatmai wrote: | Po instalacji (od zera) modyfikuje wpisy:
/etc/conf.d/keymaps KEYMAP="pl"
/etc/conf.d/consolefont CONSOLEFONT="lat2a-16"
/etc/rc.conf UNICODE="no"
I musi działać  |
Jak bede w domu to odrazu sprawdzam
Po tym zabiegu robić ponownie ?? _________________ Gentoo na razie mnie pokonuje ale walcze |
|
| Back to top |
|
 |
Yatmai Veteran


Joined: 12 Nov 2005 Posts: 1501 Location: Kraków
|
Posted: Mon Nov 12, 2007 9:09 am Post subject: |
|
|
| Wielebny wrote: | | Po tym zabiegu robić ponownie ?? |
Nie widzę powodu  _________________ Desktop: [Ath64 X2 2GB DDR2 GF76GT] [amd64] [2.6.29-gentoo] [nVidia] [KDE 3.5.10]
Lapek: [HP nc6000] [i686] [2.6.29-ARCH] [ati-open] [KDE 3.5.10] |
|
| Back to top |
|
 |
Wielebny Tux's lil' helper

Joined: 12 Nov 2006 Posts: 142 Location: Bydgoszcz
|
Posted: Tue Nov 13, 2007 8:51 am Post subject: |
|
|
Wszystko lata. Poprsotu zrobiłem literówkę w nazwie czcionki.
Dziękuje za pomoc. _________________ Gentoo na razie mnie pokonuje ale walcze |
|
| Back to top |
|
 |
MiChaSSs Tux's lil' helper

Joined: 25 Apr 2007 Posts: 88 Location: Rzeszow/Krakow/Poland
|
Posted: Thu Dec 06, 2007 1:41 pm Post subject: |
|
|
hmmm, pomimo:
| Quote: |
# /etc/conf.d/keymaps
# Use KEYMAP to specify the default console keymap. There is a complete tree
# of keymaps in /usr/share/keymaps to choose from.
KEYMAP="pl"
# Should we first load the 'windowkeys' console keymap? Most x86 users will
# say "yes" here. Note that non-x86 users should leave it as "no".
SET_WINDOWKEYS="no"
# The maps to load for extended keyboards. Most users will leave this as is.
EXTENDED_KEYMAPS=""
#EXTENDED_KEYMAPS="backspace keypad euro"
# Tell dumpkeys(1) to interpret character action codes to be
# from the specified character set.
# This only matters if you set UNICODE="yes" in /etc/rc.conf.
# For a list of valid sets, run `dumpkeys --help`
DUMPKEYS_CHARSET="iso-8859-2"
|
| Quote: |
# /etc/conf.d/consolefont
# CONSOLEFONT specifies the default font that you'd like Linux to use on the
# console. You can find a good selection of fonts in /usr/share/consolefonts;
# you shouldn't specify the trailing ".psf.gz", just the font name below.
# To use the default console font, comment out the CONSOLEFONT setting below.
# This setting is used by the /etc/init.d/consolefont script (NOTE: if you do
# not want to use it, run "rc-update del consolefont" as root).
CONSOLEFONT="lat2a-16"
# CONSOLETRANSLATION is the charset map file to use. Leave commented to use
# the default one. Have a look in /usr/share/consoletrans for a selection of
# map files you can use.
CONSOLETRANSLATION="8859-2_to_uni"
|
| Quote: |
# /etc/rc.conf: Global startup script configuration settings
# UNICODE specifies whether you want to have UNICODE support in the console.
# If you set to yes, please make sure to set a UNICODE aware CONSOLEFONT and
# KEYMAP in the /etc/conf.d/consolefont and /etc/conf.d/keymaps config files.
UNICODE="no"
# Set EDITOR to your preferred editor.
# You may use something other than what is listed here.
EDITOR="/bin/nano"
#EDITOR="/usr/bin/vim"
#EDITOR="/usr/bin/emacs"
# DISPLAYMANAGER has moved to /etc/conf.d/xdm
# XSESSION is a new variable to control what window manager to start
# default with X if run with xdm, startx or xinit. The default behavior
# is to look in /etc/X11/Sessions/ and run the script in matching the
# value that XSESSION is set to. The support scripts are smart enough to
# look in all bin directories if it cant find a match in /etc/X11/Sessions/,
# so setting it to "enlightenment" can also work. This is basically used
# as a way for the system admin to configure a default system wide WM,
# allthough it will work if the user export XSESSION in his .bash_profile, etc.
#
# NOTE: 1) this behaviour is overridden when a ~/.xinitrc exists, and startx
# is called.
# 2) even if ~/.xsession exists, if XSESSION can be resolved, it will
# be executed rather than ~/.xsession, else KDM breaks ...
#
# Defaults depending on what you install currently include:
#
# Gnome - will start gnome-session
# kde-<version> - will start startkde (look in /etc/X11/Sessions/)
# Xfce4 - will start a XFCE4 session
# Xsession - will start a terminal and a few other nice apps
XSESSION="kde"
|
w konsoli dostaje cos takiego:
| Quote: |
14:39 ::: EKG-1.7 (Eksperymentalny Klient Gadu-Gadu)
14:39 ::: Program jest rozprowadzany na zasadach licencji GPL v2
14:39 ::: Przed u¿yciem wci¶nij F1 lub wpisz ,,help''
14:39
14:39 ::: £±czê siê z serwerem...
14:39 ::: Po³±czono
|
zdaje sobie sprawe ze bylo juz o tym setki razy, ale pomimo zabiegow ktore przeczytalem w roznych how to u mnie polskie fonty nie dzialaly ;/ Co robie nie tak? Z gory dziekuje za odpowiedzi  |
|
| Back to top |
|
 |
SlashBeast Moderator


Joined: 23 May 2006 Posts: 2722
|
Posted: Thu Dec 06, 2007 1:46 pm Post subject: |
|
|
Ekg uzywa ISO8859-2. Jak chcesz na konsoli Unicode miec w EKG polskie znaczki uzywaj screena. _________________ github |
|
| Back to top |
|
 |
MiChaSSs Tux's lil' helper

Joined: 25 Apr 2007 Posts: 88 Location: Rzeszow/Krakow/Poland
|
Posted: Thu Dec 06, 2007 1:55 pm Post subject: |
|
|
| ale wpisuja mi sie tez krzaki ;/ takze co jest nie tak ? |
|
| Back to top |
|
 |
SlashBeast Moderator


Joined: 23 May 2006 Posts: 2722
|
Posted: Thu Dec 06, 2007 1:57 pm Post subject: |
|
|
Ja to robie tak.
| Code: | | export LC_ALL='pl_PL' && screen -dmS ekg /usr/bin/ekg && export LC_ALL=pl_PL.UTF-8 && screen -r ekg | Gra i bucy. _________________ github |
|
| Back to top |
|
 |
MiChaSSs Tux's lil' helper

Joined: 25 Apr 2007 Posts: 88 Location: Rzeszow/Krakow/Poland
|
Posted: Thu Dec 06, 2007 1:58 pm Post subject: |
|
|
a ja chcialbym miec system "mowiacy" po ang dlatego nie chcialbym ustawiac LC_ALL |
|
| Back to top |
|
 |
SlashBeast Moderator


Joined: 23 May 2006 Posts: 2722
|
Posted: Thu Dec 06, 2007 2:33 pm Post subject: |
|
|
ale to dziala tylko na ekg, pod jego screenem. ew. po tym daj export LC_ALL="C" i juz. _________________ github |
|
| Back to top |
|
 |
Andrzej1309 Tux's lil' helper

Joined: 05 Dec 2007 Posts: 95
|
Posted: Sun Dec 09, 2007 4:47 pm Post subject: |
|
|
Też początkujący, pierwszy dzień z Gentoo
| SlashBeast wrote: | Ja to robie tak.
| Code: | | export LC_ALL='pl_PL' && screen -dmS ekg /usr/bin/ekg && export LC_ALL=pl_PL.UTF-8 && screen -r ekg | Gra i bucy. |
i nie bucy
w odpowiedzi
| Code: | | -su: screen: command not found |
?? |
|
| Back to top |
|
 |
dziadu Guru


Joined: 04 May 2006 Posts: 428 Location: Kraków/Darmstadt/Munich
|
Posted: Sun Dec 09, 2007 5:10 pm Post subject: |
|
|
|
|
| Back to top |
|
 |
MiChaSSs Tux's lil' helper

Joined: 25 Apr 2007 Posts: 88 Location: Rzeszow/Krakow/Poland
|
Posted: Sun Dec 09, 2007 5:12 pm Post subject: |
|
|
emerge screen
ja nadal mam problemy z polskimi literami, ale narazie dalem sobie spokoj, moze jak bede mial chwile czasu  |
|
| Back to top |
|
 |
|