Red Hat Bugzilla – Bug 97460
xkb wrongly handle Ctrl key.
Last modified: 2007-04-18 12:54:50 EDT
In xkb protocol standard in Appendix A. It said that Ctrl key is hardwired to
each key withotu going through the symbols map. However, it seems that the
XFree86 shipped with redhat is not conform to this standard, result in wrongly
handle keyboard map. Ctrl-c will is appear to be Ctrl-Thaisaraae in case of th
keymap. He/She have to switch the keyboard map to "us" before pressing any
shortcut key. The problem can be eliminate if setting XkbLayout to multiple
layout and set us preced any other layout, for example, us+th or us+tml. But
th+us, or th alone will bring back the problem.
KDE user will not be able to press "Ctrl-c", "Ctrl-v", etc.. when not in the
us keymap. However, since KDE handle xkb by itself, the problem will always
available in KDE if user enable additional keyboard layout.
Step to reproduce bug
In any X-windows (GNOME, Windowmaker, blackbox...)
1. Change XkbLayout from "us" to "th" or "tamil" (any keymap that has no latin
text in it)
2. Startx, run the xev program and try to press any Ctrl key
3. It should report "Ctrl-thatkeyonthekeymap" instead of "Ctrl-[a-zA-Z]
1. Select additional keyboard layout.
2. Switch to non-layout using Ctrl-Alt-K
3. You will not be able to switch the layout back with Ctrl-Alt-K since xkb
think of it as Ctrl-Alt-blahblahblah, depends on layout
If what you claim is correct then this wouldn't be a Red Hat specific bug,
but rather it would be an XFree86.org bug. Please report this problem to
XFree86.org by filing a bug report at http://bugs.xfree86.org so that the
upstream xkb maintainer can investigate this issue and resolve it in CVS.
Once you've reported this upstream, please include a URL to the upstream bug
report here, and I will track it there and consider backporting any upstream
Ok, I post the bug to XFree86's bugzilla. I also post the generated keymap
(xkbcomp :0.0 -xkb -a) there. Note that, all things work in "-layout us,th"
combination, but only us keymap works in "-layout th,us".
Oops, forgot the URL, http://bugs.xfree86.org/cgi-bin/bugzilla/show_bug.cgi?
Repaired URL: http://bugs.xfree86.org/show_bug.cgi?id=379
Since this bugzilla report was filed, there have been several major
updates to the X Window System, which may resolve this issue. Users
who have experienced this problem are encouraged to upgrade to the
latest version of Fedora Core, which can be obtained from:
If this issue turns out to still be reproduceable in the latest
version of Fedora Core, please file a bug report in the X.Org
bugzilla located at http://bugs.freedesktop.org in the "xorg"
Once you've filed your bug report to X.Org, if you paste the new
bug URL here, Red Hat will continue to track the issue in the
centralized X.Org bug tracker, and will review any bug fixes that
become available for consideration in future updates.
The bug was re-appear in Fedora Core 3 (I don't sure whether FC2 also
I have submit the bug to XORG bugzilla. URL is
Thanks, setting status to "UPSTREAM" for future tracking in the X.Org