From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?Q?B=FCtow=2C_Michael?= Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: Forcing PCXAL keyboard detection in Tru64? Date: Sat, 05 Aug 2006 08:28:31 +0200 Message-ID: <0930312B76227A429335F72DF07A3C2E135C7B@cspop2.cs-nt-domaene.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1154759350 6472 80.91.229.2 (5 Aug 2006 06:29:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 5 Aug 2006 06:29:10 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Sat Aug 05 08:29:06 2006 Return-path: Envelope-to: gotm-tru64-unix-managers@gmane.org Original-Received: from sws1.ornl.gov ([160.91.1.101]) by ciao.gmane.org with smtp (Exim 4.43) id 1G9Fef-0004lI-63 for gotm-tru64-unix-managers@gmane.org; Sat, 05 Aug 2006 08:29:01 +0200 Original-Received: (qmail 14634 invoked by uid 49509); 5 Aug 2006 06:28:44 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 14625 invoked from network); 5 Aug 2006 06:28:43 -0000 Original-Received: from emroute4.ornl.gov (160.91.86.27) by sws1.ornl.gov with SMTP; 5 Aug 2006 06:28:43 -0000 Original-Received: from emroute4.ornl.gov (localhost [127.0.0.1]) by emroute4.ornl.gov (PMDF V6.2-1x9 #31038) with ESMTP id <0J3I00EKOHZV1R@emroute4.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Sat, 05 Aug 2006 02:28:43 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute4.ornl.gov by emroute4.ornl.gov (PMDF V6.2-1x9 #31038) id <0J3I00002HZMHK@emroute4.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Sat, 05 Aug 2006 02:28:43 -0400 (EDT) Original-Received: from csdc.comsoft.de (csdc.comsoft.de [212.86.205.70]) by emroute4.ornl.gov (PMDF V6.2-1x9 #31038) with SMTP id <0J3I00K7HHZK0L@emroute4.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Sat, 05 Aug 2006 02:28:34 -0400 (EDT) Original-Received: from comsoft.de by csdc.comsoft.de via smtpd (for emroute4.ornl.gov [160.91.86.27]) with ESMTP; Sat, 05 Aug 2006 08:28:33 +0200 Original-To: tru64-unix-managers@ornl.gov X-Envelope-from: michael.buetow@comsoft.de X-MIMEOLE: Produced By Microsoft Exchange V6.5 Thread-Topic: SUMMARY: Forcing PCXAL keyboard detection in Tru64? Thread-Index: Aca0n2RmkCTnJ2A+TOuOMREJ6S0LAgDtkFTA Content-class: urn:content-classes:message X-Spam-Virus: No X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-25) on spam2.ornl.gov X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00, UNPARSEABLE_RELAY autolearn=ham version=3.1.4 X-MS-Has-Attach: X-MS-TNEF-Correlator: Xref: news.gmane.org gmane.os.tru64.managers:8988 Archived-At: 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=FCtow --- begin relevant dxkeykaps options from "man dxkeycaps": =20 -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. =20 =20 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 =20 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 =20 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)" =20 -old Available only with the newer, XKB-based dxkeycaps command. = Specifies the use of the older, xmodmap-based dxkeycaps command.