Bug 182007
Summary: | Keyboard selection chooses different maps for console and X | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Chris Tyler <ctyler.fedora> |
Component: | rhpl | Assignee: | David Cantrell <dcantrell> |
Status: | CLOSED RAWHIDE | QA Contact: | Mike McLean <mikem> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-03-01 21:04:01 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 150222 |
Description
Chris Tyler
2006-02-18 22:56:46 UTC
When using the text-based installer, the keyboard entry shows up as 'cf' - on the graphical installer it is listed as 'French Canadian'. Is the behavior of the 'cf' map at the console correct? For the X keymap, here's the command that is run when you select the French Canadian map: setxkbmap -layout ca -model pc105 -variant fr-legacy Looking through the xkb files, this command doesn't seem correct. I think it should be running: setxkbmap -layout fr_CA -model pc105 -variant fr-legacy Is the fr_CA map the correct French Canadian map we should be loading under X.org? Yes, the 'cf' map at the console is correct. It can be loaded by hand with: loadkeys cf This is the keymap that is loaded if 'Canadian French' is selected using Anaconda, so all is well on the console. I can't get the command 'setxkbmap -layout fr_CA -model pc105 -variant fr-legacy' to work on my (unupdated) FC5T3 system, apparently because there is no fr_CA layout. This command does succeed but loads an incompatible map: setxkbmap -layout ca -model pc105 -variant fr-legacy This is the WRONG map, as it does not match the 'cf' console map nor does it match the keyboard which Dell, IBM, or Best Buy will sell you in Quebec. Both of these commands do work: setxkbmap -layout "ca(fr)" -model pc105 setxkbmap "ca(fr)" Either of these will load a map which is compatible with the 'cf' map used on the text console. (You can test this using a US keyboard using the upper-left key on the keyboard as noted in the original bug report). Apparently there are new xkb maps coming in Rawhide today -- I'll test again once the files hit my local mirror in case the map name has changed. With xorg-x11-xkbdata-1.0.1-5 on my otherwise unupdated FC5T3 system, it's necessary to add '-rules base' because setxkbmap is defaulting to '-rules xorg'. However, the ca(fr) map is still the right one: setxkbmap -rules 'base' -layout 'ca(fr)' -model 'pc105' After looking in to it further, I found that fr_CA is incorrect. But ca(fr) does work. The xorg-x11-xkbdata-1.0.1-5 problem you described with the needing '-rules base' will be corrected in the 1.0.1-6 build (already verified with X team). The keyboard loading routines are in the rhpl library, so I'm going to fix the problem there, which should fix up system-config-keyboard since it uses rhpl as well. Thanks for the help with the keymap questions. |