diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2003-05-13 07:30:09 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2003-05-13 07:30:09 +0000 |
commit | 9c713f35af3c0fafaf4ffb31775e9a83d648d650 (patch) | |
tree | 104371404a29e14ab3eaef9062c9dd50c6b35fd4 /chapter06/config-keyboard.xml | |
parent | 20c9af0c44816f247d1529a839353f008c67e9e4 (diff) |
Applied Zack's config-sys patch which fixes bug #510 which was originall patched and submitted by Alex (confused yet?)
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2606 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/config-keyboard.xml')
-rw-r--r-- | chapter06/config-keyboard.xml | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/chapter06/config-keyboard.xml b/chapter06/config-keyboard.xml index 3d5e8212b..c020719e4 100644 --- a/chapter06/config-keyboard.xml +++ b/chapter06/config-keyboard.xml @@ -1,27 +1,26 @@ <sect2><title>Configuring your keyboard</title> -<para>Nothing is more annoying than using Linux with a wrong keymap loaded -for your keyboard. If you have a default US keyboard, you can skip this -section. The US keymap file is the default if you don't change it.</para> +<para>Few things are more annoying than using Linux while a wrong keymap +for your keyboard is loaded. If you have a standard US keyboard, however, you +can skip this section, as the US keymap is the default as long as you don't +change it.</para> -<para>To set the default keymap file, create the +<para>To change the default keymap, create the <filename class="symlink">/usr/share/kbd/keymaps/defkeymap.map.gz</filename> -symlink by running the following commands:</para> +symlink by running the following command:</para> -<para><screen><userinput>ln -s <path/to/keymap> /usr/share/kbd/keymaps/defkeymap.map.gz</userinput></screen></para> +<para><screen><userinput>ln -s path/to/keymap /usr/share/kbd/keymaps/defkeymap.map.gz</userinput></screen></para> -<para>Replace <path/to/keymap> with the your keyboard's map file. For -example, if you have a Dutch keyboard, you would run:</para> +<para>Of course, replace <filename>path/to/keymap</filename> with the path and +name of your keyboard's map file. For example, if you have a Dutch keyboard, +you would use <filename>i386/qwerty/nl.map.gz</filename>.</para> -<para><screen><userinput>ln -s i386/qwerty/nl.map.gz /usr/share/kbd/keymaps/defkeymap.map.gz</userinput></screen></para> +<para>Another way to set your keyboard's layout is to compile the keymap +into the kernel. This ensures that your keyboard will always work as expected, +even when you boot into maintenance mode (by passing `init=/bin/sh' to the +kernel), as then the bootscript that normally sets up your keymap isn't run.</para> -<para>A second option to configure your keyboard's layout is to compile -the keymap directly into the kernel. This will make sure that your -keyboard always works as expected, even when you have booted into -maintenance mode (by passing `init=/bin/sh' to the kernel), in which case -the bootscript that normally sets up your keymap isn't run.</para> - -<para>Run the following command to patch the correct keymap into the +<para>Run the following command to patch the current default keymap into the kernel source. You will have to repeat this command whenever you unpack a new kernel:</para> |