tis 2009-02-24 klockan 15:11 +0100 skrev Laurent Léonard: > 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 ? > > Thank you, > -- > Laurent Léonard > >
Hello, I have the following executable hack in config/chroot_local-hooks/. It appends '-latin1' to carefully selected places in the live-initramfs file /usr/share/initramfs-tools/scripts/live-bottom/19keyboard: #!/bin/sh # Correct keyboard settings for the console if [ -f /usr/share/initramfs-tools/scripts/live-bottom/19keyboard ] then echo " Correcting keyboard settings for the console" sed -i 's/^\tchroot \/root \/usr\/sbin\/install-keymap ${kbd}/&-latin1/' \ /usr/share/initramfs-tools/scripts/live-bottom/19keyboard sed -i 's/^\tlive-preseed \/root debian-installer\/keymap "${kbd}"/&-latin1/' \ /usr/share/initramfs-tools/scripts/live-bottom/19keyboard sed -i 's/^\tlive-preseed \/root kbd-chooser\/method "${kbd}"/&-latin1/' \ /usr/share/initramfs-tools/scripts/live-bottom/19keyboard fi This makes it possible for me to append "keyb=se" to the boot parameters for my Debian Live system and have a working swedish keyboard both on the console and in X Good luck! Mikael Petersson -- To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org