Re: A few questions about customization
- To: email@example.com
- Subject: Re: A few questions about customization
- From: Mikael Petersson <firstname.lastname@example.org>
- Date: Sat, 06 Dec 2008 01:48:43 +0100
- Message-id: <1228524523.15520.86.camel@hpdebian-unstable.SYNNEMICKE>
- Reply-to: email@example.com
- In-reply-to: <20081104070234.GC31658@tomas>
- References: <firstname.lastname@example.org> <48F8A47F.email@example.com> <firstname.lastname@example.org> <20081021175010.GA28532@tomas> <20081103221713.GB20729@samir> <20081104070234.GC31658@tomas>
tis 2008-11-04 klockan 08:02 +0100 skrev email@example.com:
> -----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
locales/locales_to_be_generated: sv_SE.UTF-8 UTF-8
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
> - -- tomas
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> -----END PGP SIGNATURE-----