loadkeys.xml 691 B

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