aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/kbd-inst.xml
blob: 638ceab5b62b038eb642aeb72bd16f44d7d74205 (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
39
<sect2>
<title>Installation of Kbd</title>

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

<blockquote><literallayout>

	<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>

</literallayout></blockquote>

<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>

<blockquote><literallayout>

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

</literallayout></blockquote>

<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>