Bug 82440
Summary: | Handle non-US keymaps that need US keymaps loaded as well | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Brent Fox <bfox> |
Component: | redhat-config-keyboard | Assignee: | Brent Fox <bfox> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 9 | CC: | aleksey, katzj, milan.kerslager, msf |
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: | 2003-05-25 14:29:18 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: |
Description
Brent Fox
2003-01-22 05:15:23 UTC
This applies for anaconda too. It will require changes to the keyboard_models.py in rhpl. msf, katzj: just so you know, I'll have to make this change to keyboard_models.py. I'll try not to break anything that the installer uses, but we'll need to test it. I think putting a nested list of the required X keymaps inside the self.modelDict will work pretty well. For example, the line: 'ru' : [_('Russian'), 'ru', 'pc105', ''], will look like: 'ru' : [_('Russian'), ['ru', 'us'], 'pc105', ''], That way, we can write an XF86Config file that looks like: Option "XkbLayout" "us,ru" So, of that list, we only have entries for bg, el, mk, ru, and ua in keyboard_models.py. I have not added the other keymaps to this list because I'm not sure of which console keymaps that they use. I had to add a column to self.modelDict in keyboard_models.py to specify the XkbOptions field for these keyboards, which is "grp:ctrl_shift_toggle" So now the line for ru looks like: 'ru' : [_('Russian'), 'ru,us', 'pc105', '', 'grp:ctrl_shift_toggle' ], rhpl-0.79-1 and redhat-config-keyboard-1.0.3-1 should fix this issue. What about upgrades? Will they result in broken X configuration? I understand the difficulties with trying to auto-fix an existing config, but it might be a good idea to at least mention it in release notes - along the lines "If you are upgrading from a previous version of Red Hat and you have your XWindow Sytem configured to use an international keyboard layout, you will need to re-generate your configuration (use redhat-config-keyboard or redhat-coonfig-xfree86) ." I agree it should be in release notes. I disagree however with bfox that it should be handled by XFree86. Having some type of "upgrade XFree86 from release A to release B" script might be useful, but cramming it into XFree86.spec is a recipe for unmaintainable disaster. I'm not sure what the best solution is, just that I don't have the time resources to implement it. see comments https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=79287#c21 and https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=79287#c22. redhat-config-keyboard is OK, please fix anaconda. There is a stack of 64 bugs that have been in Modified state for a long period of time. I am closing these as Rawhide now. If you find that the issue is not fixed, please reopen this report. |