Changeset b32e803 for chapter06/kbd.xml
- Timestamp:
- 05/06/2004 04:22:04 PM (20 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 32220fb
- Parents:
- 4dc8dc6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/kbd.xml
r4dc8dc6 rb32e803 37 37 </sect2> 38 38 39 <sect2 id="conf-kbd"><title>Configuring your keyboard</title> 40 <indexterm zone="conf-kbd"> 41 <primary sortas="a-Kbd">Kbd</primary> 42 <secondary>configuring</secondary></indexterm> 43 44 <para>Few things are more annoying than using Linux while a wrong keymap 45 for your keyboard is loaded. If you have a standard US keyboard, however, you 46 can skip this section, as the US keymap is the default as long as you don't 47 change it.</para> 48 49 <para>To change the default keymap, create the 50 <filename class="symlink">/usr/share/kbd/keymaps/defkeymap.map.gz</filename> 51 symlink by running the following command:</para> 52 53 <screen><userinput>ln -s path/to/keymap /usr/share/kbd/keymaps/defkeymap.map.gz</userinput></screen> 54 55 <para>Of course, replace <filename>path/to/keymap</filename> with the path and 56 name of your keyboard's map file. For example, if you have a Dutch keyboard, 57 you would use <filename>/usr/share/kbd/keymaps/i386/qwerty/nl.map.gz</filename>.</para> 58 59 <para>Another way to set your keyboard's layout is to compile the keymap 60 into the kernel. This ensures that your keyboard will always work as expected, 61 even when you boot into maintenance mode (by passing `init=/bin/sh' to the 62 kernel), as then the bootscript that normally sets up your keymap isn't run.</para> 63 64 <para>When in <xref linkend="chapter-bootable"/> you're ready to compile the 65 kernel, run the following command to patch the current default keymap into the 66 source (you will have to repeat this command whenever you unpack a new 67 kernel):</para> 68 69 <screen><userinput>loadkeys -m /usr/share/kbd/keymaps/defkeymap.map.gz > \ 70 /usr/src/linux-&linux-version;/drivers/char/defkeymap.c</userinput></screen> 71 72 </sect2> 73 39 <!-- The "Configuring your keyboard" section has been moved to 40 Chapter 7 and renamed to "Configuring Linux console" --> 74 41 75 42 <sect2 id="contents-kbd"><title>Contents of Kbd</title> … … 164 131 <indexterm zone="ch-system-kbd unicode_start"><primary sortas="b-unicode_start">unicode_start</primary></indexterm> 165 132 <para id="unicode_start"><command>unicode_start</command> puts the keyboard and console in 166 unicode mode.</para> 133 UNICODE mode. Never use it on LFS, because applications are not 134 configured to support UNICODE.</para> 167 135 168 136 <indexterm zone="ch-system-kbd unicode_stop"><primary sortas="b-unicode_stop">unicode_stop</primary></indexterm> 169 137 <para id="unicode_stop"><command>unicode_stop</command> reverts keyboard and console from 170 unicodemode.</para>138 UNICODE mode.</para> 171 139 172 140 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.