XKEYCAPS: Keyboard layout for the IBM PS/2 keyboard

XKEYCAPS: Keyboard layout for the IBM PS/2 keyboard

Post by Mark Mannin » Mon, 21 Sep 1998 04:00:00



This is the key layout for the IBM PS/2 keyboard which can be attached
to the APS Technology Inc. line of computers.  I believe that the
StarMax line of computers can also support this keyboard.

To use this, just make a file in your top level directory called
".xmodmap".  Then put into your login file someplace the line:

xmodmap $HOME/.xmodmap

And you will have all of the keys laid out for the IBM PS/2 keyboard
(black with the word IBM in the upper right corner above the leds for
Num Lock, Caps Lock, and Scroll Lock).  I've left the original heading
on the file but actually only the clear and add commands are left from
the original xmodmap file which xkeycaps generated.  Have fun!

!######################################################################
!    Start of keymap
!######################################################################
!
! This is an `xmodmap' input file for PC 104 key (Linux/XFree86; US)
keyboards.
! Automatically generated on Sun Sep 20 14:01:52 1998 by root with

! http://home.netscape.com/people/jwz/xkeycaps/
!
!
!       Escape key
!
keycode 0x3D =  Escape
!
!       The function keys
!
keycode 0x82 =  F1
keycode 0x80 =  F2
keycode 0x6B =  F3
keycode 0x7E =  F4
keycode 0x68 =  F5
keycode 0x69 =  F6
keycode 0x6A =  F7
keycode 0x6C =  F8
keycode 0x6D =  F9
keycode 0x75 =  F10
keycode 0x6F =  F11
keycode 0x77 =  F12
!
!       First row on the keyboard
!
keycode 0x3A =  grave           asciitilde
keycode 0x1A =  1               exclam
keycode 0x1B =  2               at
keycode 0x1C =  3               numbersign
keycode 0x1D =  4               dollar
keycode 0x1F =  5               percent
keycode 0x1E =  6               asciicircum
keycode 0x22 =  7               ampersand
keycode 0x24 =  8               asterisk
keycode 0x21 =  9               parenleft
keycode 0x25 =  0               parenright
keycode 0x23 =  minus           underscore
keycode 0x20 =  equal           plus
keycode 0x3B =  BackSpace
!
!       Second row on the keyboard
!
keycode 0x38 =  Tab             ISO_Left_Tab
keycode 0x14 =  q               Q
keycode 0x15 =  w               W
keycode 0x16 =  e               E
keycode 0x17 =  r               R
keycode 0x19 =  t               T
keycode 0x18 =  y               Y
keycode 0x28 =  u               U
keycode 0x2A =  i               I
keycode 0x27 =  o               O
keycode 0x2B =  p               P
keycode 0x29 =  bracketleft     braceleft
keycode 0x26 =  bracketright    braceright
keycode 0x32 =  backslash       bar
!
!       Third row on the keyboard
!
keycode 0x41 =  Caps_Lock
keycode 0x08 =  a               A
keycode 0x09 =  s               S
keycode 0x0A =  d               D
keycode 0x0B =  f               F
keycode 0x0D =  g               G
keycode 0x0C =  h               H
keycode 0x2E =  j               J
keycode 0x30 =  k               K
keycode 0x2D =  l               L
keycode 0x31 =  semicolon       colon
keycode 0x2F =  apostrophe      quotedbl
keycode 0x2C =  Return
!
!       Fourth row on the keyboard
!
keycode 0x40 =  Shift_L
keycode 0x0E =  z               Z
keycode 0x0F =  x               X
keycode 0x10 =  c               C
keycode 0x11 =  v               V
keycode 0x13 =  b               B
keycode 0x35 =  n               N
keycode 0x36 =  m               M
keycode 0x33 =  comma           less
keycode 0x37 =  period          greater
keycode 0x34 =  slash           question
keycode 0x83 =  Shift_R
!
!       Fifth row on the keyboard
!
keycode 0x3E =  Control_L
keycode 0x3F =  Meta_L
keycode 0x42 =  Alt_L
keycode 0x39 =  space
keycode 0x84 =  Alt_R
keycode 0x3F =  Meta_L
!keycode 0x76 = Mod1
keycode 0x85 =  Control_R
!
!       Special keys
!
keycode 0x71 =  Print
keycode 0x73 =  Scroll_Lock
keycode 0x79 =  Pause
keycode 0x7A =  Insert
keycode 0x7B =  Home
keycode 0x7C =  Prior
keycode 0x7D =  Delete
keycode 0x7F =  End
keycode 0x81 =  Next
!
!       Arrow Keys
!
keycode 0x43 =  Left
keycode 0x44 =  Right
keycode 0x45 =  Down
keycode 0x46 =  Up
!
!       Keypad Keys
!
keycode 0x5A =  KP_0
keycode 0x5B =  KP_1
keycode 0x5F =  KP_5
keycode 0x60 =  KP_6
keycode 0x61 =  KP_7
keycode 0x63 =  KP_8
keycode 0x64 =  KP_9
keycode 0x4F =  Num_Lock
keycode 0x53 =  KP_Divide
keycode 0x4B =  KP_Multiply
keycode 0x56 =  KP_Subtract
keycode 0x4D =  KP_Add
keycode 0x49 =  KP_Decimal
keycode 0x54 =  KP_Enter
!
!       Don't have this:
!
!       keycode 0x59 =  KP_Equal
!
!       Unknown what this does
!
clear Shift
clear Lock
clear Control
clear Mod1
clear Mod2
clear Mod3
clear Mod4
clear Mod5
!
!       Unknown what this does
!
add    Shift   = Shift_L Shift_R
add    Lock    = Caps_Lock
add    Control = Control_L Control_R
add    Mod1    = Meta_L Meta_R
add    Mod2    = Alt_L Alt_R
add    Mod4    = Num_Lock
add    Mod5    = Scroll_Lock
!
!########################################################################

!    End of file
!########################################################################

 
 
 

1. Ultra5 uses German keyboard layout for US keyboard after dtlogin...

Hi!

----

Ultra5 running Solaris 2.8 with Recommended&Security patch cluster from
July 2003 applied.
The machine uses the correct, US/English keyboard layout in console mode
and in the dtlogin screen (old keyboard was a german one... but that was
assassinated with little help from Pepsi, Inc.) ... but when the user
loggs in he has a german keyboard layout (a horror if someone uses the

anyone have an idea what may cause this problem (there is no file like
~/.key* in ${HOME}) ?

----

Bye,
Roland

--
  __ .  . __

  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 2426 901568 FAX +49 2426 901569
 (;O/ \/ \O;)

2. Sylpheed and IMAP: Shows all files

3. How to find the keyboard type and keyboard layout?

4. HELP: Problem with fsck

5. Happy Hacking keyboard + USB KVM == strange keyboard layout

6. reiserfs and nfs.

7. Mad Xsun uses German keyboard layout for US/UNIX keyboard...

8. Netscape on Unix and "Broken pipe"

9. IBM 3101 keyboard layout

10. PS/2 keyboard idetified as USB keyboard

11. xkeycaps and xmodmap fro spanish keyboards

12. xkeycaps definition for Gateway Anykey Keyboard

13. xkeycaps "Belgian" keyboard remapping problems