2001-01-24 00:31:17 +00:00
|
|
|
<sect1 id="ch07-loadkeys">
|
2002-01-15 21:32:01 +00:00
|
|
|
<title>Configuring the loadkeys script</title>
|
2001-09-26 01:35:10 +01:00
|
|
|
<?dbhtml filename="loadkeys.html" dir="chapter07"?>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2002-01-15 21:32:01 +00:00
|
|
|
<para>You only need to create configure script if you don't have a
|
2001-08-29 20:50:53 +01:00
|
|
|
default 101 keys US keyboard layout.</para>
|
2001-08-06 12:00:11 +01:00
|
|
|
|
2002-01-15 21:32:01 +00:00
|
|
|
<para>The /etc/sysconfig/keyboard file contains the information the
|
|
|
|
loadkeys script needs to operate. This file contains the LAYOUT variable
|
|
|
|
which tells loadkeys what keymap to load that corresponds with your
|
|
|
|
keyboard.</para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2001-08-06 12:00:11 +01:00
|
|
|
<para>Create a new file <filename>/etc/sysconfig/keyboard</filename>
|
|
|
|
by running the following:</para>
|
|
|
|
|
|
|
|
<para><screen><userinput>cat > /etc/sysconfig/keyboard << "EOF"</userinput
|
|
|
|
>
|
|
|
|
# Begin /etc/sysconfig/keyboard
|
|
|
|
|
|
|
|
LAYOUT=<path-to-keymap>
|
|
|
|
|
|
|
|
# End /etc/sysconfig/keyboard
|
|
|
|
<userinput>EOF</userinput></screen></para>
|
|
|
|
|
|
|
|
<para>Replace <userinput><path-to-keymap></userinput> with the
|
|
|
|
path to the keymap you have selected. For example, if you have chosen the
|
|
|
|
US keymap, you would replace it with
|
2001-09-08 01:38:01 +01:00
|
|
|
<userinput>/usr/share/kbd/keymaps/i386/qwerty/us.map.gz</userinput></para>
|
2001-08-06 12:00:11 +01:00
|
|
|
|
2001-01-24 00:31:17 +00:00
|
|
|
</sect1>
|
|
|
|
|