aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/kbd-inst.xml
blob: 1733fb310dfa8e797c5f8beaeed49752f6b6c75b (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
<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>