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 13:56:51 +0100
- Message-id: <1228568211.3264.5.camel@hpdebian-unstable.SYNNEMICKE>
- Reply-to: email@example.com
- In-reply-to: <1228524523.15520.86.camel@hpdebian-unstable.SYNNEMICKE>
- References: <firstname.lastname@example.org> <48F8A47F.email@example.com> <firstname.lastname@example.org> <20081021175010.GA28532@tomas> <20081103221713.GB20729@samir> <20081104070234.GC31658@tomas> <1228524523.15520.86.camel@hpdebian-unstable.SYNNEMICKE>
lör 2008-12-06 klockan 01:48 +0100 skrev Mikael Petersson:
> 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
> 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).
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.
> 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-----