Bug 758709

Summary: RFE: port off of pyxf86config
Product: [Fedora] Fedora Reporter: Adam Jackson <ajax>
Component: system-config-keyboardAssignee: Lubomir Rintel <lkundrak>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: itamar, lkundrak, peter.hutterer
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-01 17:16:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Adam Jackson 2011-11-30 14:51:05 UTC
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.

Comment 1 Peter Hutterer 2011-11-30 21:56:32 UTC
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.

Comment 2 Adam Jackson 2011-12-01 17:16:16 UTC
Well that's easy then.

http://koji.fedoraproject.org/koji/taskinfo?taskID=3555987