Red Hat Bugzilla – Bug 470869
LANG=de_DE.UTF-8 sets language but not keyboard on Live CD
Last modified: 2013-01-09 23:54:47 EST
Description of problem:
I need to set both language and keyboard to German on the Live CD by specifying boot options. However, it appears that it is not possible to set the keyboard this way.
Version-Release number of selected component (if applicable):
Fedora 10 Preview Live CD
boot the live CD with LANG=de_DE.UTF-8
Language is German, keyboard is English
Language is German, keyboard is German
Ubuntu uses two separate boot arguments so that language and keyboard can be set independently of each other.
Keyboard can't be assumed from language.
It would probably be possible to extend the thing that currently parses LANG= from the kernel cmdline and make it parse KEYBOARD=... too
Unfortunately, I failed to locate the code that does that...
gdm does look at /etc/sysconfig/keyboard
to determine the default layout.
/sbin/real-init on the initrd reads the language from the boot arguments and writes it to /sysroot/etc/sysconfig/i18n, so probably this would be the right place to do something similar for the keyboard as well.
Thanks for your consideration.
Added support for booting with 'live_keytable=us' (or similar) which will set KEYTABLE=us in /etc/sysconfig/keyboard accordingly
(In reply to comment #5)
> Added support for booting with 'live_keytable=us' (or similar) which will set
> KEYTABLE=us in /etc/sysconfig/keyboard accordingly
Added where, and is it tagged for f10?
I have tried to add "live_keytable=de" to a Fedora 10 Live USB system and it works very well, I do get a German keyboard.
Thank you for implementing this.
(There is a minor cosmetic glitch: In the GDM login window, it shows "USA" at the bottom of the screen as the keyboard setting where I'd expect it to show "German" because it is in fact set to German. Hopefully that GDM login window will go away altogether on the Live CD.)
Looks like this doesn't work any more in Fedora 12?
Please let me know how to set keyboard and language to German in Fedora 12.