tonywhitmore.co.uk  

      blog : gallery : wiki : articles : projects : shell scripts : wallpaper : cv : links :
 Project Homepage

Keyboard configuration (kbd)

Preparation

  1. Download the kdb source code from www.kernel.org.
  2. Burn the file kbd-1.08.tar.gz to a CD. This page assumes that the subdirectory /apps is used for the .tar.gz file. The CD-ROM can be a multi-session disk.

Give me more details on this

Booting

  1. Boot your Core Linux PC.
  2. Login as root. You will need to enter the password at the prompt.

Give me more details on this

Extract the source

  1. Place the CD-R in the CD-ROM drive. Mount the CD-ROM drive under /mnt/cdrom.
  2. Change to the /apps directory on the CD-R.
  3. Copy the kbd-1.08.tar.gz file to the directory /usr/src.
  4. Change to the /usr/src directory and extract the source from the .tar.gz file.

Give me more details on this

Configure and compile

  1. Change to the /usr/src/kbd-1.08 directory.
  2. Run the ./configure script.
  3. Run the make program.
  4. Run the make program with the argument install.

Give me more details on this

Choosing and starting a new key map

  1. Select the new key map which you want to use. This example uses the UK key map, settings for which are held in the file uk.map. Other keymaps are held in the directory /usr/src/kdb-1.08/data/keymaps and are sorted by system architecture, keyboard type and country.
  2. Create the directory /etc/kbd.
  3. Copy the new key map to the /etc/kbd directory. The key map used in this example is /usr/src/kbd-1.08/data/keymaps/i386/qwerty/uk.map
  4. It may be necessary to add some lines to your .inputrc file. For example, the extra keys on a Danish keyboard require the following lines to be added to .inputrc:
  5. Run the program loadkeys with the argument /etc/kbd/uk.map.
  6. Test your new key associations.

Give me more details on this

Automating loadkeys

  1. Insert the following line at the beginning of the /etc/rc.d/rc.mu script:
    loadkeys /etc/kbd/uk.map
    You can also add comments and echoes for your own information.
  2. Reboot the system and check that the keyboard mapping is correct.

Give me more details on this

Creative Commons License
The text of this page is licensed under a Creative Commons License.


Valid CSS!     Valid HTML 4.0!     Valid RSS
Original design © For oswd.org by SquireCD