Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 172449 - livecd keymap problem, proposed patch (mkxf86config missing line)
Summary: livecd keymap problem, proposed patch (mkxf86config missing line)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: LiveCD/DVD/USB (show other bugs)
Hardware: x86 Linux
: Low trivial (vote)
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2007-03-27 19:40 UTC by Nelson
Modified: 2008-07-28 20:14 UTC (History)
2 users (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 Nelson 2007-03-27 19:40:32 UTC
If I select portuguese (29) I still get an US keymap. After installing Gentoo and choosing my keymap it works fine. But it would make the installation a lot easier if this was fixed.

Reproducible: Always
Comment 1 Nelson 2007-03-28 20:03:33 UTC
I forgot to mention this happens in at least five different pc's. If necessary, you can contact me to try new livecd's. 
Comment 2 Nelson 2007-04-01 09:25:03 UTC
This is a correction from my last bug where I thought the keymap selection bug was still there. Sorry, I jumped to conclusions. Thing is, I forgot I was using the livecd with X, so the problem was that *gnome* didn't had the right keymap... 

The other cd's were just fine. So I'm thinking that for new users and distracted ones like myself, the keymap selection should also change the keymap for gnome. I'll have a look at a patch if I get to learn bash, if I forget anyone interested can send me an email reminder.
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2007-04-02 13:55:49 UTC
This is actually a genkernel bug, which I think I have fixed.  I'm leaving this open since we do need a new LiveCD release with this bug fixed before we can close this one.
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2007-05-10 21:34:13 UTC
This should be fixed in 2007.0, please REOPEN if it isn't.
Comment 5 Nelson 2007-05-11 01:07:18 UTC
Typing from the livecd, (it is beautiful), but this bug remains.

Keyboard model is :Generic 105-key (Intl) PC
but gnome kbd layout is US. Using option 29 - Portuguese, only.
Comment 6 Xake 2007-07-29 00:49:38 UTC
Is this a genkernel bug really? For me swedish layout works fine in console, but it seems like it is the creation of xorg.conf that needs a bit love...
Comment 7 Nelson 2007-07-29 10:51:15 UTC
(In reply to comment #6)

Yes, read chooseKeymap() in http://sources.gentoo.org/viewcvs.py/genkernel/trunk/generic/initrd.scripts?view=markup

It tries to set some xkeyboard setting I don't know. Can you solve this? I have yet to learn sed.
Comment 8 Xake 2007-07-29 13:05:04 UTC
It is far more trivial then that.
A file belonging to mkxf86config has a missing value.
Please change subject accordingly.

Proposed fix:
--- /etc/X11/xorg.conf.in.old    2007-07-29 14:51:02.000000000 +0200
+++ /etc/X11/xorg.conf.in        2007-07-29 14:54:07.000000000 +0200
@@ -88,6 +88,7 @@
        Option  "XkbModel" "pc105"
 #      Option  "XkbOptions" "grp:toggle,grp_led:scroll"
        Option  "XkbVariant" ",winkeys"
+       Option  "XkbLayout" ""
 EndSection
 
 Section "InputDevice"


Background:

mkxf86config searches for XkbLayout in /etc/X11/xorg.conf to add/replace the value after with the value of XKEYBOARD initrd wrote to /etc/sysconfig/keyboard.
Becouse of XkbLayout is missing in /etc/X11/xorg.conf.in mkxf86config can't change its value (it does not try to add it if it does not find it) leaving us with a /etc/X11/xorg.conf without XkbLayout at all.
Comment 9 Nelson 2007-07-29 14:09:31 UTC
Ok, I'm going to trust you (changed subject), good work. 

I couldn't find mkxf86config as a project of gentoo, only the Chris Gianelloni releases. It's the xorg.conf.in that needs to be changed.
Comment 10 Chris Gianelloni (RETIRED) gentoo-dev 2007-08-01 00:25:39 UTC
It really isn't a Gentoo project.  It has no repository.

Anyway, this will be fixed with 0.9.9 of mkxf86config and should be fixed next release (2007.1) but I'll likely be asking at least one of you to help properly test it.  I can test it somewhat, but being an American with a US keyboard makes testing it for real functionality a bit harder.
Comment 11 Chris Gianelloni (RETIRED) gentoo-dev 2007-08-01 00:38:46 UTC
OK.  I've fixed this in the tree with mkxf86config 0.9.9 but will be leaving this bug open until 2007.1 is released.
Comment 12 Nelson 2007-08-09 20:57:42 UTC
(In reply to comment #10)

Ok, i've tested this on a catalyst livecd and it solved the problem, but I can always test the 2007.1 cd in case something else brakes it.
Comment 13 Chris Gianelloni (RETIRED) gentoo-dev 2008-07-28 20:14:07 UTC
This should be fixed with 2008.0's release.