[Fedora-livecd-list] Keyboard configuration
Patrice Guay
patrice.guay at nanotechnologies.qc.ca
Mon May 5 15:19:52 UTC 2008
Peter Åstrand a écrit :
>>> It seems like the current LiveCD tools for F8 does not correctly handle
>>> keyboard configuration via Kickstart. We have a line:
>>>
>>> lang sv_SE.UTF-8
>>>
>>> ...in our ks.cfg. The console keyboard layout is correctly set. However,
>>> The X11 layout is sometimes wrong:
>>>
>>>
>> On my own LiveCD respin, I patched the kudzu script so that the keyboard is
>> correctly configured for X. Basically, I'm adding those 2 lines in
>> /etc/init.d/kudzu:
>>
>> . /etc/sysconfig/keyboard
>> /usr/bin/system-config-keyboard \$KEYTABLE 2&> /dev/null
>>
>
> Thanks for the hint. But does this really work when there's no xorg.conf,
> or XF86Config, at all?
> /usr/share/system-config-keyboard/keyboard_backend.py contains:
>
> def modifyXconfig(self, fullname, layout, model, variant, options):
> #import xf86config and make the necessary changes
> if os.access("/etc/X11/XF86Config", os.W_OK) or os.access("/etc/X11/xorg.conf", os.W_OK):
> import xf86config
>
> In other words, modifyXconfig does nothing if there's no X config file.
>
I think kudzu generates an xorg.conf if no configuration file is
present. At least, that is the behavior
on CentOS 5 (Fedora 6).
--
Patrice
More information about the Fedora-livecd-list
mailing list