Re: A few questions about customization
- To: debian-live@lists.debian.org
- Subject: Re: A few questions about customization
- From: Mikael Petersson <mikael.peters@telia.com>
- Date: Sat, 06 Dec 2008 17:34:28 +0100
- Message-id: <1228581268.3264.26.camel@hpdebian-unstable.SYNNEMICKE>
- Reply-to: debian-live@lists.debian.org
- In-reply-to: <1228568211.3264.5.camel@hpdebian-unstable.SYNNEMICKE>
- References: <200810171341.40975.rd-disc@gmx.net> <48F8A47F.6070805@debian.org> <200810211051.04459.rd-disc@gmx.net> <20081021175010.GA28532@tomas> <20081103221713.GB20729@samir> <20081104070234.GC31658@tomas> <1228524523.15520.86.camel@hpdebian-unstable.SYNNEMICKE> <1228568211.3264.5.camel@hpdebian-unstable.SYNNEMICKE>
lör 2008-12-06 klockan 13:56 +0100 skrev Mikael Petersson:
> lör 2008-12-06 klockan 01:48 +0100 skrev Mikael Petersson:
> > tis 2008-11-04 klockan 08:02 +0100 skrev tomas@tuxteam.de:
> > > -----BEGIN PGP SIGNED MESSAGE-----
> > > Hash: SHA1
> > >
> > > On Mon, Nov 03, 2008 at 11:17:14PM +0100, Hans Ekbrand wrote:
[...]
> > 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.
OK, now I have a Debian Live image with a working Swedish keyboard both
on the console and in X.
The solution was to add the following to an executable script in
config/chroot_local-hooks/ (let's hope that Evolution don't add funny
linebreaks):
sed -i 's/^\tchroot \/root \/usr\/sbin\/install-keymap ${kbd}/&-latin1/' \
/usr/share/initramfs-tools/scripts/live-bottom/19keyboard
sed -i 's/^\tlive-preseed \/root debian-installer\/keymap "${kbd}"/&-latin1/' \
/usr/share/initramfs-tools/scripts/live-bottom/19keyboard
sed -i 's/^\tlive-preseed \/root kbd-chooser\/method "${kbd}"/&-latin1/' \
/usr/share/initramfs-tools/scripts/live-bottom/19keyboard
Yes, I know. I'm no sed hacker :-)
Regards,
Mikael
> > > Regards
> > > - -- tomas
> > > -----BEGIN PGP SIGNATURE-----
> > > Version: GnuPG v1.4.6 (GNU/Linux)
> > >
> > > iD8DBQFJD/OKBcgs9XrR2kYRApHBAJ0ZUCFx60BBeGqRxIhbeNagTJ6kxwCeJbem
> > > DARAufAcXin0Vu8b5rwpP7s=
> > > =4SU/
> > > -----END PGP SIGNATURE-----
> > >
> > >
> >
> >
>
>
Reply to: