loadkeys.xml 680 B

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