loadkeys.xml 684 B

12345678910111213141516171819202122232425262728293031
  1. <sect1 id="ch07-loadkeys">
  2. <title>Creating the loadkeys script</title>
  3. <para>A user only needs to create this script if he don't have a
  4. default 101 keys US keyboard layout. Create the
  5. <filename>/etc/init.d/loadkeys</filename> script by running the
  6. following command:</para>
  7. <para><screen><userinput>cat &gt; loadkeys &lt;&lt; "EOF"</userinput>
  8. #!/bin/sh
  9. # Begin /etc/init.d/loadkeys
  10. #
  11. # Include the functions declared in the /etc/init.d/functions file
  12. #
  13. source /etc/init.d/functions
  14. #
  15. # Load the default keymap file
  16. #
  17. echo -n "Loading keymap..."
  18. /bin/loadkeys -d 2&gt;/dev/null
  19. evaluate_retval
  20. # End /etc/init.d/loadkeys
  21. <userinput>EOF</userinput></screen></para>
  22. </sect1>