Red Hat Bugzilla – Bug 758709
RFE: port off of pyxf86config
Last modified: 2011-12-01 12:16:16 EST
Description of problem:
s-c-k is the sole remaining user of pyxf86config, which is itself a fairly fragile bit of code. If it's possible to port us off of it, we should do so.
I _think_ that code can (and should) simply be removed, as system-setup-keyboard handles conversion from /etc/sysconfig/keyboard to xorg.conf.d already. The existing code is probably broken anyway, as the 'kbd' driver is somewhat deprecated these days.
All system-config-keyboard needs to do is write out to /etc/sysconfig/keyboard and provide the keyboard_models database (we could move that one to system-setup-keyboard if necessary). Any actual X keyboard configuration that system-config-keyboard does is ignored by the server anyway. So porting off it would simply mean dropping the code that writes out the InputDevice sections.
Well that's easy then.