kbd-exp.xml 1.3 KB

123456789101112131415161718192021222324252627282930
  1. <sect2>
  2. <title>Command explanations</title>
  3. <para><userinput>--datadir=/usr/share/kbd:</userinput> This puts the kbd
  4. data files (fonts, keymaps, and such) in the /usr/share/kbd directory, as
  5. the FHS suggests.</para>
  6. <para><userinput>rm
  7. /usr/share/kbd/keymaps/i386/qwerty/defkeymap.map.gz:</userinput> There
  8. are some problems with having a defkeymap.map.gz when that file
  9. wants to load another keymap file. Instead of running loadkeys with the -d
  10. option to load the defkeymap.map.gz file, we have come up with a slightly
  11. modified method that we use in the loadkeys bootscript (see chapter 7).
  12. We don't load a default keymap, but instead load the proper keymap
  13. directly, which you will need to specify in a configuration file which
  14. that bootscript uses. This method overcomes this bug.</para>
  15. <para>However, if you want to create a defkeymap.map.gz file regardless,
  16. here's how you should do it:</para>
  17. <para><screen><userinput>cd /usr/share/kbd/keymaps &amp;&amp;</userinput>
  18. <userinput>ln -s &lt;path-to-keymap&gt; defkeymap.map.gz</userinput></screen></para>
  19. <para>Replace &lt;path-to-keymap&gt; with the path to the keymap you have
  20. selected, relative to the /usr/share/kbd/keymaps/ directory. For
  21. example, if you have chosen the US keymap, you would replace it with
  22. i386/qwerty/us.map.gz.</para>
  23. </sect2>