Keymap

From HostGISLinux

Jump to: navigation, search

If your keyboard is not a standard American keyboard, you may need to install additional keyboard mappings. This document describes how.

  • Install keyboard mapping software:
 # for 4.0 through 4.1, use this
 slackpkg install kbd
 
 # for 4.2 or later, use this
 slapt-get install kbd
  • Create a file /etc/rc.d/rc.keymap with this in it:
 #!/bin/sh
 # Load the keyboard map.
 # Check in /usr/share/kbd/keymaps and find the appropriate map for you.
 if [ -x /bin/loadkeys ]; then
   /bin/loadkeys fr-latin9.map
 fi
  • In /etc/rc.d/rc.local put this:
 # Load foreign keymap
 if [ -x /etc/rc.d/rc.keymap ]; then
   . /etc/rc.d/rc.keymap
 fi
  • chmod +x /etc/rc.d/rc.keymap