mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 06:14:47 +00:00
cleaned it up big time
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1128 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
98b575da51
commit
4913f69792
@ -5,26 +5,5 @@
|
||||
data files (fonts, keymaps, and such) in the /usr/share/kbd directory, as
|
||||
the FHS suggests.</para>
|
||||
|
||||
<para><userinput>rm
|
||||
/usr/share/kbd/keymaps/i386/qwerty/defkeymap.map.gz:</userinput> There
|
||||
are some problems with having a defkeymap.map.gz when that file
|
||||
wants to load another keymap file. Instead of running loadkeys with the -d
|
||||
option to load the defkeymap.map.gz file, we have come up with a slightly
|
||||
modified method that we use in the loadkeys bootscript (see chapter 7).
|
||||
We don't load a default keymap, but instead load the proper keymap
|
||||
directly, which you will need to specify in a configuration file which
|
||||
that bootscript uses. This method overcomes this bug.</para>
|
||||
|
||||
<para>However, if you want to create a defkeymap.map.gz file regardless,
|
||||
here's how you should do it:</para>
|
||||
|
||||
<para><screen><userinput>cd /usr/share/kbd/keymaps &&</userinput>
|
||||
<userinput>ln -s <path-to-keymap> defkeymap.map.gz</userinput></screen></para>
|
||||
|
||||
<para>Replace <path-to-keymap> 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>
|
||||
|
||||
|
@ -5,8 +5,11 @@
|
||||
|
||||
<para><screen><userinput>./configure --datadir=/usr/share/kbd &&</userinput>
|
||||
<userinput>make &&</userinput>
|
||||
<userinput>make install &&</userinput>
|
||||
<userinput>rm /usr/share/kbd/keymaps/i386/qwerty/defkeymap.map.gz</userinput></screen></para>
|
||||
<userinput>make install</userinput></screen></para>
|
||||
|
||||
<para>When using the loadkeys program from this package, don't use the
|
||||
-d option to load a default keymap file. It won't work properly
|
||||
with keymaps that include other keymaps.</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user