aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/kbd-inst.xml
blob: b6b8e1aecf435334970989f9f4b4a4e8ae2a4f4d (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
32
33
34
35
36
37
38
<sect2>
<title>Installation of Kbd</title>

<para>
Install Kbd by running the following commands:
</para>

<para>
<screen>
<userinput>./configure --datadir=/usr/share/kbd &amp;&amp;</userinput>
<userinput>make &amp;&amp;</userinput>
<userinput>make install &amp;&amp;</userinput>
<userinput>rm /usr/share/kbd/keymaps/i386/qwerty/defkeymap.map.gz</userinput>
</screen>
</para>

<para>
Now we have to choose a default keymap. Explore the
/usr/share/kbd/keymaps directory, and find the keymap that you would like to use
as a default. Then execute this command:
</para>

<para>
<screen>
<userinput>cd /usr/share/kbd/keymaps &amp;&amp;</userinput>
<userinput>ln -s &lt;path-to-keymap&gt; defkeymap.map.gz</userinput>
</screen>
</para>

<para>
Replace <userinput>&lt;path-to-keymap&gt;</userinput> with the path to the
keymap you have selected, relative to the /usr/share/kbd/keymaps/ directory. For
example, if you have chosen the US keymap, you would replace it with
i386/qwerty/us.map.gz.
</para>

</sect2>