Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 231083 - 2008.0 x86 livecd: wrong keyboard layout within gdm
Summary: 2008.0 x86 livecd: wrong keyboard layout within gdm
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: All ISO (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-07 16:58 UTC by Toralf Förster
Modified: 2011-05-13 19:57 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2008-07-07 16:58:39 UTC
However at the command line the choosen "de" layout works fine (ThinkPad T41, x86).


Reproducible: Always
Comment 1 Andrew Gaffney (RETIRED) gentoo-dev 2008-07-12 16:32:24 UTC
This has been an outstanding issue for the LiveCD since the beginning. The keymap support in genkernel was designed for use on the minimal CD.

There's no real way to extend it for setting the keymap in X without rigging something in livecd-tools's autoconfig or mkxf86config to read the current keymap and then set it in xorg.conf.
Comment 2 Herve Darce 2008-12-28 17:44:20 UTC
There is a bug in /usr/sbin/mkxf86config.sh (livecd 2008). mkxf86config.sh does not properly to initialize the keyboard fr for example (XkbLayout "fr").

Solution: 
----------------------------
mv /usr/sbin/mkxf86config.sh /usr/sbin/mkxf86config.sh.bug;
sed -e 's|\*\"\[\^\"\]\*\"|\*\"\(\^\"\)\*\"|g;' /usr/sbin/mkxf86config.sh.bug > /usr/sbin/mkxf86config.sh
----------------------------

I replace in /usr/sbin/mkxf86config.sh:
----------------------------
-e 's|"XkbLayout" *"[^"]*"|"XkbLayout" "'"${XKEYBOARD}"'"|g;'"${DEADKEYS}"
----------------------------
by
----------------------------
-e 's|"XkbLayout" *"(^")*"|"XkbLayout" "'"${XKEYBOARD}"'"|g;'"${DEADKEYS}"
----------------------------

Herve Darce
Comment 3 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-05-13 19:57:26 UTC
No more livecds, so closing this bug.