Bug 983277 - umlauts bug in the console CTRL+ALT+F2
Summary: umlauts bug in the console CTRL+ALT+F2
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kbd
Version: 19
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Vitezslav Crhonek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-10 20:26 UTC by Christian Schmitt
Modified: 2017-10-16 12:42 UTC (History)
6 users (show)

Fixed In Version: kbd-1.15.5-8.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-12 00:34:09 UTC
Type: Bug
Embargoed:
c.schmitt: needinfo-
c.schmitt: needinfo-


Attachments (Terms of Use)

Description Christian Schmitt 2013-07-10 20:26:02 UTC
Description of problem: When going into a 'native' terminal you can't use 'umlauts' / ÄÖÜ. it will print out [] instaed or {}. 
I'm on a german keyboard and on a german system, the locale gets applied and also the keyboard is correct, since i could enter [] {} on right ALT + 8 or 9 etc.



Version-Release number of selected component (if applicable):
19

How reproducible:
Have a german or a keyboard with umlauts and press CTRL+ALT+(F2-FX)


Steps to Reproduce:
1. German Keyboard or Keyboard with umlauts (ÄÖÜ)
2. Login
3. Enter Ä or Ö or Ü

Actual results:
[ or ] or { or } etc.


Expected results:
Ä or Ö or Ü etc.

Additional info:
When printing the locale it is correct: de_DE.UTF8
The Keyboard is definitly de_DE. Since every key is correct only ÄÖÜ and äöü isn't correct.

Also I'm not sure about the Package.
Terminal means the X Window Terminal, but it's only in the TTY of CTRL+ALT+F2-F6 or  on a system without any graphical enivronment (console) mode.

Maybe an additional bug: "Schrödinger's Cat" gets printed out wrong, too (The thing that gets printed on the login screen).
If that could help?

Comment 1 Christian Schmitt 2013-07-10 20:32:21 UTC
currently german latin1 works, german utf8, not. (german latin1 dead accents) does not work, too.

Comment 2 Christian Schmitt 2013-07-11 06:59:41 UTC
Oh damn that wasn't too clear.
With latin1 and utf8 I mean the keyboard layout.

Keyboard layout that works is latin1 but still latin1 with no dead keys is broken, too.
and utf8 is broken.
Currently only ÄÖÜäöü aren't working. The rest works as expected..

Comment 3 Fedora Update System 2013-08-28 13:29:39 UTC
kbd-1.15.5-7.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/kbd-1.15.5-7.fc19

Comment 4 Vitezslav Crhonek 2013-08-28 13:34:47 UTC
Thanks for the bug report.

Could you please try /lib/kbd/keymaps/xkb/de* keymaps from the updated package (kbd-1.15.5-7.fc19). Does it work as expected?

Comment 5 Till Maas 2013-08-31 20:14:27 UTC
With kbd-1.15.5-7.fc19) the wrong chars are displayed on the console, e.g. instead of ö and the composition of o^ is shown.

Comment 6 Vitezslav Crhonek 2013-09-02 13:12:32 UTC
(In reply to Till Maas from comment #5)
> With kbd-1.15.5-7.fc19) the wrong chars are displayed on the console, e.g.
> instead of ö and the composition of o^ is shown.

Which keymap?

Comment 7 Martin Engbers 2013-09-07 07:09:45 UTC
At least the de_latin1 keymap is still broken with kbd-1.15.5-7.fc19.
The following keys do not work:

° displays ~
² displays 2
§ displays #
³ displays 3
ß displays \
\ displays nothing
€ displays *
ü displays @
Ü displays \
ö displays [
Ö displays {
ä displays ]
Ä displays }

Moreover, the four supposedly dead keys (^ ´ ` ~) aren't dead at all.
It appears that the problem is keyboard specific: I run into this bug
on my desktop, where I use a regular German keyboard, but not on my
laptop.

I did not test the other de_* keymaps.

Comment 8 Till Maas 2013-09-07 07:18:45 UTC
(In reply to Vitezslav Crhonek from comment #6)
> (In reply to Till Maas from comment #5)
> > With kbd-1.15.5-7.fc19) the wrong chars are displayed on the console, e.g.
> > instead of ö and the composition of o^ is shown.
> 
> Which keymap?

Sorry, it seems that the font is messed up here, not the keymap.

Comment 9 Martin Engbers 2013-09-07 07:23:51 UTC
Also, the apostrophe in the release name "Schrödinger's Cat" ist displayed
as a ∎ instead. No idea is that is connected to this bug.

Comment 10 Till Maas 2013-09-07 07:36:29 UTC
(In reply to Martin Engbers from comment #9)
> Also, the apostrophe in the release name "Schrödinger's Cat" ist displayed
> as a ∎ instead. No idea is that is connected to this bug.

You can try whether this commands fixes it:
setfont latarcyrheb-sun16

After I ran the command and logged out, the release name was properly displayed.

Comment 11 Martin Engbers 2013-09-07 08:36:08 UTC
I tried to test the other de* keymaps, and it appears that the keymap specified in /etc/vconsole.conf is completely ignored. All gave the same result. Even changing it to an azerty keymap didn't have any effect. Apparently, systemd loads some generic umlaut-free qwertz-keymap and doesn't let me change it through /etc/vconsole.conf.

@Till: Nope, that made it worse - afterwards, the ö was an ô and the apostrophe was an ū. But I believe the font issue is independent from the keymap issue; let's keep this bug report free of the former one.

Comment 12 Vitezslav Crhonek 2013-09-17 11:01:17 UTC
(In reply to Martin Engbers from comment #11)
> I tried to test the other de* keymaps, and it appears that the keymap
> specified in /etc/vconsole.conf is completely ignored. All gave the same
> result. Even changing it to an azerty keymap didn't have any effect.
> Apparently, systemd loads some generic umlaut-free qwertz-keymap and doesn't
> let me change it through /etc/vconsole.conf.

And can you please try it without usage of vconsole.conf? Let's say run as root this command:

# loadkeys /lib/kbd/keymaps/xkb/de.map.gz

Does this keymap work as expected? (Or any other for _xkb_ subdir of '/lib/kbd/keymaps'?)

Comment 13 Martin Engbers 2013-09-18 07:55:49 UTC
That command works, but there is no /lib/kbd/keymaps/xkb/de.map.gz file:

$ ls /lib/kbd/keymaps/xkb/de*
/lib/kbd/keymaps/xkb/de-deadacute.map.gz
/lib/kbd/keymaps/xkb/de-deadgraveacute.map.gz
/lib/kbd/keymaps/xkb/de-dsb.map.gz
/lib/kbd/keymaps/xkb/de-dsb_qwertz.map.gz
/lib/kbd/keymaps/xkb/de-dvorak.map.gz
/lib/kbd/keymaps/xkb/de-mac.map.gz
/lib/kbd/keymaps/xkb/de-mac_nodeadkeys.map.gz
/lib/kbd/keymaps/xkb/de-neo.map.gz
/lib/kbd/keymaps/xkb/de-nodeadkeys.map.gz
/lib/kbd/keymaps/xkb/de-qwerty.map.gz
/lib/kbd/keymaps/xkb/de-ro.map.gz
/lib/kbd/keymaps/xkb/de-ro_nodeadkeys.map.gz
/lib/kbd/keymaps/xkb/de-ru.map.gz
/lib/kbd/keymaps/xkb/de-sundeadkeys.map.gz

Am I missing a package? None of these provides the default german keyboard layout. de-deadgraveacute comes closest, but ^, °, and ~ aren't dead. Also, de-qwerty, de-deadacute, and de-deadgraveacute all get AltGr + 3 wrong: It should be ³ (superscript 3), but it's ∎.

Comment 14 Vitezslav Crhonek 2013-09-18 08:09:07 UTC
You have to use updated package from testing - kbd-1.15.5-7.fc19.

Comment 15 Martin Engbers 2013-09-18 08:38:19 UTC
My bad, I had distro-synced since my previous comment. The command

# loadkeys /lib/kbd/keymaps/xkb/de.map.gz

works fine with kbd-1.15.5-7.fc19. Small nitpicks:

- The Euro sign doesn't work: AltGr + e gives ∎
- The superscript 3 doesn't work: AltGr + 3 gives ∎
- The accents ^, ´, and ` cannot be applied to the letter y (no ŷ, ý, ỳ)
- The ° and ~ keys aren't dead

Comment 16 Vitezslav Crhonek 2013-09-19 15:15:37 UTC
Hm, the first two issues looks like your font is missing that glyphs.

But this keymap should be 1:1 copy of X layout, so I'm interested whether accents work in X or not? And also if dead keys are dead in X.

Maybe the conversion doesn't work flawlessly...

Comment 17 Martin Engbers 2013-09-20 00:58:27 UTC
Running

# setfont latarcyrheb-sun16

fixed some of these problems:

- The Euro sign still doesn't show.
- But superscript 3 does.
- The accent ´ can be applied to the letter y,
  the accents ` and ^ cannot (same behaviour as in Debian stable.
  I assume that ŷ and ỳ are not part of any Western European alphabet).
- ~ is dead, and can be applied to a, o, and n only (again, same as in Debian
  Stable - other combinations probably not part of any Western European
  alphabet).
- ° isn't dead, but this appears to be normal (same as in GNOME and Debian's
  vconsole - and even Windows, if Wikipedia is to be trusted.)


So only the Euro sign remains problematic. In GNOME, for comparison, the accents ´, `, ^ can be combined with pretty much every latin character. On the other hand, ~ is not dead at all in GNOME, so no way to apply ~ to anything. 

However, the following combinations work in GNOME on Fedora 19 as well as in the vconsole on Debian Stable, but don't work in the vconsole on Fedora 19:

- AltGr + y => » (gives y instead)
- AltGr + x => « (gives x instead)
- AltGr + p => þ (gives p instead)
- AltGr + o => ø (gives o instead)
- AltGr + a => æ (gives a instead)
- AltGr + d => ð (gives d instead)
- AltGr + v => „ (gives v instead)
- AltGr + b => “ (gives b instead)
- AltGr + n => ” (gives n instead)
- AltGr + ´, followed by c, => ç (gives c instead)
- AltGr + Shift + ü, followed by a, => å (gives a instead)

Comment 18 Fedora Update System 2013-11-06 13:04:17 UTC
kbd-1.15.5-8.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/kbd-1.15.5-8.fc19

Comment 19 Fedora Update System 2013-11-07 03:34:43 UTC
Package kbd-1.15.5-8.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing kbd-1.15.5-8.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-20801/kbd-1.15.5-8.fc19
then log in and leave karma (feedback).

Comment 20 Martin Engbers 2013-11-11 04:14:35 UTC
Could you be more specific as to which issue kbd-1.15.5-8 is supposed to fix? I can't notice any difference in behaviour compared to kbd-1.15.5-7, which already fixed the umlauts for me.

My last comment still stands; in particular, the euro sign still doesn't work. The other missing combinations are probably just wishlist material (it would be great if Fedora's vconsole was as capable as Debian's), but the missing euro sign is clearly a bug. No idea if it's a font issue or a layout issue. Also, it appears that /etc/vconsole.conf is still being ignored.

Comment 21 Fedora Update System 2013-11-12 00:34:09 UTC
kbd-1.15.5-8.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.