Summary: | 2008.0 x86 livecd: wrong keyboard layout within gdm | ||
---|---|---|---|
Product: | Gentoo Release Media | Reporter: | Toralf Förster <toralf> |
Component: | All ISO | Assignee: | Gentoo Release Team <releng> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | pacho |
Priority: | High | ||
Version: | 2008.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Toralf Förster
2008-07-07 16:58:39 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. 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 No more livecds, so closing this bug. |