[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Keyboard layout for both X and console



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.

-- 
Sebastian Hilbert 
Leipzig / Germany
[www.gnumed.de]  -> PGP welcome, HTML ->/dev/null
LABEL live (English)
	MENU LABEL Start GNUmed Live in English
	kernel /live/vmlinuz1
	append initrd=/live/initrd1.img boot=live union=aufs 
	
LABEL live (German)
	MENU LABEL Starte GNUmed Live auf Deutsch
	kernel /live/vmlinuz1
	append initrd=/live/initrd1.img boot=live union=aufs locale=de_DE.UTF8 keyb=de 
	
LABEL live (Spanish)
	MENU LABEL Para empezar GNUmed Live en Espangnol
	kernel /live/vmlinuz1
	append initrd=/live/initrd1.img boot=live union=aufs locale=es_ES.UTF8 keyb=es
	
LABEL live (French)
	MENU LABEL Ouvrir GNUmed Live en Francais
	kernel /live/vmlinuz1
	append initrd=/live/initrd1.img boot=live union=aufs locale=fr_FR.UTF8 keyb=fr
	
LABEL livefailsafe
	MENU LABEL Start Debian Live (fail-safe mode)
	kernel /live/vmlinuz1
	append initrd=/live/initrd1.img boot=live union=aufs  noapic noapm nodma nomce nolapic nosmp vga=normal

LABEL memtest
	MENU LABEL Memory test
	kernel /live/memtest


#label floppy
#	localboot 0x00

#label disk1
#	localboot 0x80

#label disk2
#	localboot 0x81

#label nextboot
#	localboot -1

Reply to: