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

Re: A few questions about customization

tis 2008-11-04 klockan 08:02 +0100 skrev tomas@tuxteam.de:
> 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

> 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:


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).

Regards and good night, 

Mikael Petersson, Sweden

> Regards
> - -- tomas
> Version: GnuPG v1.4.6 (GNU/Linux)
> iD8DBQFJD/OKBcgs9XrR2kYRApHBAJ0ZUCFx60BBeGqRxIhbeNagTJ6kxwCeJbem
> DARAufAcXin0Vu8b5rwpP7s=
> =4SU/

Reply to: