View previous topic :: View next topic |
Author |
Message |
m.s.w Apprentice
Joined: 19 Sep 2004 Posts: 190 Location: Kraków, Poland
|
Posted: Mon Sep 01, 2008 9:46 pm Post subject: Console in UTF8 - can't get all character using keyboard |
|
|
I follow Gentoo UTF guide + some tips for my local language, which is polish.
All things work, but console. I cant type characters specific to my language. These characters are typed by pressing right Alt and a letter. When I do this, there is no reaction. No characters is showed on the screen.
X are fine, VT are fine, even in console displaying local characters is OK (when i do "ls -l" I can see all local characters used in filenames). Just typing doesn't work. Where to search for solving this?
Some data:
/etc/conf.d/consolefont
consolefont="ter-216n"
/etc/conf.d/keymap
keymap="pl2"
windowkeys=yes
dumpkeys_charset="iso-8859-2"
fix_euro="NO"
locale:
LANG=pl_PL.utf8
LC_CTYPE="pl_PL.utf8"
LC_NUMERIC="pl_PL.utf8"
LC_TIME="pl_PL.utf8"
LC_COLLATE="pl_PL.utf8"
LC_MONETARY="pl_PL.utf8"
LC_MESSAGES="pl_PL.utf8"
LC_PAPER="pl_PL.utf8"
LC_NAME="pl_PL.utf8"
LC_ADDRESS="pl_PL.utf8"
LC_TELEPHONE="pl_PL.utf8"
LC_MEASUREMENT="pl_PL.utf8"
LC_IDENTIFICATION="pl_PL.utf8"
LC_ALL=pl_PL.utf8
/etc/rc.conf
unicode="YES"
It's annoying becouse I can't work in console. DO you have any ideas what could be the reason of this ? _________________ Mark Twain said it best:
"If you have to swallow a frog, don't stare at it too long!" |
|
Back to top |
|
|
VinzC Watchman
Joined: 17 Apr 2004 Posts: 5098 Location: Dark side of the mood
|
Posted: Tue Sep 02, 2008 1:07 pm Post subject: |
|
|
For UTF-8 in consoles I have set variable consolefont to ter-v16n, which is a font file that contains almost every glyph representation. I haven't anything in dumpkeys_charset. Also make sure you have the proper locales in /etc/locale.gen. Example:
Code: | ...
pl_PL.utf8 UTF-8
pl_PL iso-8859-2
... |
Run locale-gen afterwards. You can also create this file
/etc/env.d/02locale: | LANG=pl_PL.utf8 |
which will set system-wide UTF8 and polish language. Otherwise move that instraction into ~/.bashrc or ./bash_profile. _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739! |
|
Back to top |
|
|
m.s.w Apprentice
Joined: 19 Sep 2004 Posts: 190 Location: Kraków, Poland
|
Posted: Wed Nov 12, 2008 9:43 pm Post subject: |
|
|
After some investigation it appears that there is a problem during startup. I mean - no errors is shown, but when I do
Code: |
mkm-box# /etc/init.d/keymaps restart
|
everything is as it should be.
So the question is now: why? Is there a problem with startup order? _________________ Mark Twain said it best:
"If you have to swallow a frog, don't stare at it too long!" |
|
Back to top |
|
|
notHerbert Advocate
Joined: 11 Mar 2008 Posts: 2228 Location: 45N 73W
|
Posted: Wed Nov 12, 2008 11:14 pm Post subject: |
|
|
What is the output of Code: | rc-update | grep keymaps |
|
|
Back to top |
|
|
m.s.w Apprentice
Joined: 19 Sep 2004 Posts: 190 Location: Kraków, Poland
|
Posted: Wed Nov 12, 2008 11:55 pm Post subject: |
|
|
It is starting at boot:
Code: | mkm-box ~ # rc-update |grep keymaps
keymaps | boot
|
_________________ Mark Twain said it best:
"If you have to swallow a frog, don't stare at it too long!" |
|
Back to top |
|
|
|