SUMMARY: Forcing PCXAL keyboard detection in Tru64?

From: Bütow, Michael <michael.buetow_at_comsoft.de>
Date: Sat, 05 Aug 2006 08:28:31 +0200

I asked for why Tru64 misdetected my PCXAL keyboard as LK411, and how the best way to fix it.
While I did not find out the "why" yet, I had several suggestions how to correct the problem.

In the end I went with the solution from Peter Stern, who suggested to edit /usr/lib/X11/Xserver.conf and add the option "-xkbmap digital_us_pcxal" to the X server "args" section, then restart the xlogin manager using /sbin/rc3.d/S95xlogin restart.
The file /usr/lib/X11/xkb/keymaps.dir gives more details to how the keyboard selection is made, and contains more keyboard layouts.

John Lanier suggested the cause may be a command in $HOME/.dtprofile (or applicable keymap definition file) that got launched each time I log in. Unfortunately I could not find any such setting, but John's advice to use the dxkeycaps command was also helpful. I reproduce it below.

Thanks to all who replied !

Michael Bütow



--- begin relevant dxkeykaps options

from "man dxkeycaps":
 
-mapfile mapfile-name
      Available only with the newer, XKB-based dxkeycaps command. Specifies
      the use of a specific keymap file. Use this option to specify a user-
      owned keymap file or to load a different keymap file. The mapfile-name
      parameter must include the full path.
 
 
Other:
-------
"-keyboard keyboard-name or -kbd keyboard-name
      Specifies the type of keyboard to display. There are many different
      types of computer keyboards. To function correctly, dxkeycaps must know
      which keyboard you are using. The known keyboard types are defined in
      keymap files that reside in /usr/lib/X11/xkb/keymap/ (for XKB format
      keyboards) or /usr/lib/X11/keymaps/ (for xmodmap format keyboards).

      If the console's keyboard language parameter is set correctly, a dxkey-
      caps command with no option selects the correct keyboard by default.
      Likewise, a -keyboard option with no command line parameters selects
      the correct keyboard by default. (To set the console's keyboard
      language, use the set language command. See the section on environment
      variables in your workstation user's guide.)

      To display a keyboard layout, the keyboard must be attached to the
      machine that hosts the display.

      To display the British/Irish keyboard layout, specify:

      % dxkeycaps -kbd "pcxal (British/Irish)"

To display the default PCXAL (American) keyboard layout, specify:
      % dxkeycaps -kbd pcxal
 
      To cause the system to display a keyboard based on kernel and console
      environment information, just as if you issued a dxkeycaps command with
      no parameters, specify:
      % dxkeycaps -kbd badkeyboardname
 
      Case does not matter when you specify a keyboard name, but you must
      quote keyboard names that contain spaces. For example:
      % dxkeycaps -kbd "PCXAL-AE (United Kingdom)"
 
  -old
      Available only with the newer, XKB-based dxkeycaps command. Specifies
      the use of the older, xmodmap-based dxkeycaps command.
Received on Sat Aug 05 2006 - 06:30:17 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:45 NZDT