blob: e12d67883c83b510d523463a5d36caae9d1100af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
<sect1 id="ch07-loadkeys">
<title>Configuring the loadkeys script</title>
<?dbhtml filename="loadkeys.html" dir="chapter07"?>
<para>You only need to use the loadkeys script if you don't have a
default 101 keys US keyboard layout.</para>
<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>
<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
<userinput>/usr/share/kbd/keymaps/i386/qwerty/us.map.gz</userinput></para>
</sect1>
|