In QA for bug 440499, I used system-config-keyboard to switch the keyboard layout from US English to US International. I then tried immediately switching back to US English, got this python traceback and the window won't close (will post in another comment from the VM itself since copy/paste won't work outside my VM :) )
Loading /lib/kbd/keymaps/i386/qwerty/us.map.gz Parse error on line 14 of section InputDevice in file /etc/X11/xorg.conf This section must have an Identifier line. Traceback (most recent call last): File "/usr/share/system-config-keyboard/keyboard_gui.py", line 226, in _okClicked return self.apply(None, False) File "/usr/share/system-config-keyboard/keyboard_gui.py", line 117, in apply keyboardBackend.modifyXconfig(fullname, layout, model, variant, options) File "/usr/share/system-config-keyboard/keyboard_backend.py", line 39, in modifyXconfig xconfig.comment = '# This configuration file was broken by system-config-keyboard' AttributeError: 'NoneType' object has no attribute 'comment'
I see, it does indeed create a malformed X configuration as stated in the traceback: # Keyboard added by system-config-keyboard Identifier "Keyboard0" This has the US International layout in it, and it seems like s-c-k (or probably anything else) can't grok that anymore. The comment and 'Identifier' should be on separate lines.
Yeah, X won't start with this config (not surprisingly)
Use a more recent build.
confirmed working in system-config-keyboard-1.2.15-2.fc9 - but that didn't make today's rawhide even though it's tagged. I'll follow up on that.
*** Bug 446495 has been marked as a duplicate of this bug. ***