Le mercredi 25 février 2009 11:12:20 Sebastian Hilbert, vous avez écrit : > On Dienstag 24 Februar 2009, Laurent Léonard wrote: > > Hi, > > > > I'm not sure this mailing list is the right one for user support, but I > > didn't find other lists about Debian Live... > > > > This page explain how it is possible to set a keyboard layout for X or > > the console : http://live.debian.net/manual/html/language.html > > keymap=XX-latin1 give a right keyboard layout for the console > > keymap=XX give a right keyboard layout for X > > > > How can I set the right keyboard layout for both X and the console ? > > I might be wrong but I think the locale is auto generated on boot. > > See attached menu.cfg which I use for selecting the correct locale at > boottime. > > take a look at the append lines which set up locale and keyb in various > languages for me. > > I would appreciate looking over my translations as I more or less guessed > them. > > The only problem with my menu.cfg is that it gets autogenerated and I did > not see a way to include it. Currently I use an evil hack to include which > I will not publish here. There seems to be a way to include a syslinux.cfg > but no menu.cfg.
You are right, it works for X, but not for the console... For example with "keyb=fr", the X keymap will be correct but not the console keymap. And with "keyb=fr-latin1" the console keymap will be correct but not the X keymap... I think you can override the "template" of menu.lst for your project, check the /usr/share/live-helper/templates/grub directory for the default template. I think you can use the "template" directory in your project to override it. -- Laurent Léonard -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]
