lör 2008-12-06 klockan 01:48 +0100 skrev Mikael Petersson: > tis 2008-11-04 klockan 08:02 +0100 skrev [EMAIL PROTECTED]: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > On Mon, Nov 03, 2008 at 11:17:14PM +0100, Hans Ekbrand wrote: > > [...] > > > > But what do you do when the keyboard name for the console and X is not > > > the same? > > > > > > If I use keyb=se-latin1 I get the correct keyboard layout in the > > > console, but then my xorg.conf will have "layout" "se-latin", which > > > will fail. If I have keyb=se, X will work, but not the keyboard in the > > > console. > > > > Ugh. That's a tough one. How do you do this in a "standard" Debian > > install? Do you have to change the X keyboard config after installing? > > Sorry for the late reply, this thread seems to go on forever :-) > > I'm Swedish and have noticed this too. My Debian Live boot parameters > include locale=sv_SE.UTF-8 and keyb=se. With these settings, I can only > use Swedish characters (å, ä, ö, etc) in X. > > In my "standard" Debian install I don't have to change anything related > to keyboard or language after initial installation using d-i. I can use > Swedish characters both in X and on the console. Perhaps d-i has some > "preseed magic" going on to make keyboard configuration for X work out > of the box? If so, could the same magic be applied to live-initramfs? > > Here are some debconf values from my "standard" Debian install related > to language and keyboard: > > console-data/keymap/policy: Don't touch keymap > debian-installer/country: SE > debian-installer/keymap: se-latin1 > debian-installer/language: sv > locales/default_environment_locale: sv_SE.UTF-8 > locales/locales_to_be_generated: sv_SE.UTF-8 UTF-8 > xserver-xorg/autodetect_keyboard: false > xserver-xorg/config/inputdevice/keyboard/layout: se > > The debian-installer/keymap and > xserver-xorg/config/inputdevice/keyboard/layout values look > interesting... > > > To me that seems like a problem in console-data or thereabouts. What do > > others think? > > FWIW, I use local package lists for my live images. The following > packages related to locale and console are in these package lists: > > console-common > console-tools > locales > util-linux-locales > > Note that I install console-tools instead of kbd! This is done > (auto-magically by d-i) in my "standard" Debian install too. > > Tomorrow I will try building a smallish LXDE Live image with kbd instead > of console-tools to see if that solves the problem (probably not).
Nope, with kbd it works just the same as with console-tools. As a last resort, i will try some hacks on the live-initramfs scripts to see if I can make it use "se-latin1" on the console and "se" in X. Mikael > Regards and good night, > > Mikael Petersson, Sweden > > > Regards > > - -- tomas > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.4.6 (GNU/Linux) > > > > iD8DBQFJD/OKBcgs9XrR2kYRApHBAJ0ZUCFx60BBeGqRxIhbeNagTJ6kxwCeJbem > > DARAufAcXin0Vu8b5rwpP7s= > > =4SU/ > > -----END PGP SIGNATURE----- > > > > > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]