Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Knoppix remastering. Where to configure keyboard layout?

1,307 views
Skip to first unread message

Bengt T

unread,
Dec 9, 2009, 9:29:24 AM12/9/09
to
Need to make a CD which starts directly with Swedish keyboard layout
without having to use boot options (e. g. "knoppix lang=se").

So far I have tried but not succeeded in finding any exact information
on the Internet. Is there anyone that can provide some hints on which
file/s to modify?

Florian Rehnisch

unread,
Dec 10, 2009, 1:37:06 PM12/10/09
to
o Bengt T <bengt_t...@hotmail.com>:

Maybe /etc/xorg.conf
--
flori
Vim-Hilfe auf Deutsch http://www.florianrehnisch.de/vimhelp/

Bengt T

unread,
Dec 13, 2009, 10:53:53 AM12/13/09
to
On 10 Dec, 19:37, eix...@gmx.de (Florian Rehnisch) wrote:
> o Bengt T <bengt_tornqv...@hotmail.com>:

Modifying /etc/X11/xorg.conf does not help...

/Bengt

Florian Rehnisch

unread,
Dec 17, 2009, 4:12:38 AM12/17/09
to
o Bengt T <bengt_t...@hotmail.com>:

> On 10 Dec, 19:37, eix...@gmx.de (Florian Rehnisch) wrote:
>> o Bengt T <bengt_tornqv...@hotmail.com>:
>>
>> > Need to make a CD which starts directly with Swedish keyboard layout
>> > without having to use boot options (e. g. "knoppix lang=se").
>> > So far I have tried but not succeeded in finding any exact information
>> > on the Internet. Is there anyone that can provide some hints on which
>> > file/s to modify?
>>
>> Maybe /etc/xorg.conf

> Modifying /etc/X11/xorg.conf does not help...

I believe there is a knoppix mailing list. Maybe you should ask
there. Many mailing lists are archived at http;//gmane.org/.

BTW: you don't need to quote the signature. And many folks filter
out posts from google-groups. newsoffice.de or a real newsreader
are alternatives.

Nico Kadel-Garcia

unread,
Dec 17, 2009, 8:21:48 AM12/17/09
to

Well, it wouldn't. Keyboard settings occur much earlier in the boot
process, particularly so that international keyboards can be used to
type grub passwords. (There's nothing like the dodging '$' symbol to
muck up passwords on different keyboards!!!)

However, there's an interesting note at
http://www.linuxquestions.org/questions/linux-from-scratch-13/lfs-how-to-configure-linux-console-for-uk-keyboard-670667/
about the use of /etc/sysconfig/console. I'm not sure where the KEYMAP
is set in Knoppix, but I'd bet that a 'grep -rl KEYMAP /etc/' would
give you a good hint where it might normally be set.

Now, that doesn't get it set for the raw boot process where different
options are enabled. To get at those, you may have to take apart and
rebuild the bootable image. Different installation CD's and DVD's name
that different things, but I'd look into the documents on creating a
bootable Knoppix CD.

Bengt T

unread,
Dec 21, 2009, 2:30:02 AM12/21/09
to
On 17 Dec, 14:21, Nico Kadel-Garcia <nka...@gmail.com> wrote:
> On Dec 13, 10:53 am, Bengt T <bengt_tornqv...@hotmail.com> wrote:
>
>
>
> > On 10 Dec, 19:37, eix...@gmx.de (Florian Rehnisch) wrote:
>
> > > o Bengt T <bengt_tornqv...@hotmail.com>:
>
> > > > Need to make a CD which starts directly with Swedish keyboard layout
> > > > without having to use boot options (e. g. "knoppix lang=se").
> > > > So far I have tried but not succeeded in finding any exact information
> > > > on the Internet. Is there anyone that can provide some hints on which
> > > > file/s to modify?
>
> > > Maybe /etc/xorg.conf
> > > --
> > > flori
> > > Vim-Hilfe auf Deutsch http://www.florianrehnisch.de/vimhelp/
>
> > Modifying /etc/X11/xorg.conf does not help...
>
> > /Bengt
>
> Well, it wouldn't. Keyboard settings occur much earlier in the boot
> process, particularly so that international keyboards can be used to
> type grub passwords. (There's nothing like the dodging '$' symbol to
> muck up passwords on different keyboards!!!)
>
> However, there's an interesting note athttp://www.linuxquestions.org/questions/linux-from-scratch-13/lfs-how...

> about the use of /etc/sysconfig/console. I'm not sure where the KEYMAP
> is set in Knoppix, but I'd bet that a 'grep -rl KEYMAP /etc/' would
> give you a good hint where it might normally be set.
>
> Now, that doesn't get it set for the raw boot process where different
> options are enabled. To get at those, you may have to take apart and
> rebuild the bootable image. Different installation CD's and DVD's name
> that different things, but I'd look into the documents on creating a
> bootable Knoppix CD.

I am remastering Knoppix and have succeeded in setting the keyboard
when I start with runlevel 3 (loadkeys command in /etc/init.d/rc).
When switching to runlevel 5 I get an other keyboard layout. When
switching back to runlevel 3 the initial keyboard layout is back
again.

My assumption is that there is some KDE initialization setting that
has to be managed, but I have not yet found out where.

/Bengt

/Bengt

Bengt T

unread,
Dec 25, 2009, 3:59:38 AM12/25/09
to

Finally this issue was solved by putting "...xkeyboard=se..." into
relevant lines of the isolinux.cfg file during the remastering
process.

There are probably more elegant ways to define the keyboard but I can
survive with this.

Thank you all who bothered to assist me.

/Bengt

0 new messages