| 1234567891011121314151617181920212223242526272829303132 | <sect2><title>Configuring your keyboard</title><para>Nothing is more annoying than using Linux with a wrong keymap loadedfor your keyboard. If you have a default US keyboard, you can skip thissection. The US keymap file is the default if you don't change it.</para><para>To set the default keymap file, create the <filename class="symlink">/usr/share/kbd/keymaps/defkeymap.map.gz</filename>symlink by running the following commands:</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. Forexample, if you have a Dutch keyboard, you would run:</para><para><screen><userinput>ln -s i386/qwerty/nl.map.gz /usr/share/kbd/keymaps/defkeymap.map.gz</userinput></screen></para><para>A second option to configure your keyboard's layout is to compilethe keymap directly into the kernel. This will make sure that yourkeyboard always works as expected, even when you have booted intomaintenance mode (by passing `init=/bin/sh' to the kernel) in which casethe bootscript that normally sets up your keymap isn't run.</para><para>Run the following command to patch the correct keymap into thekernel source. You will have to repeat this command whenever you unpack anew kernel:</para><para><screen><userinput>loadkeys -m /usr/share/kbd/keymaps/defkeymap.map.gz > \    /usr/src/linux/drivers/char/defkeymap.c</userinput></screen></para></sect2>
 |