From owner-freebsd-bugs@FreeBSD.ORG Wed May 15 13:20:03 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E0D26D4D for ; Wed, 15 May 2013 13:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id AEA1FD1F for ; Wed, 15 May 2013 13:20:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r4FDK3CO031738 for ; Wed, 15 May 2013 13:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r4FDK34e031737; Wed, 15 May 2013 13:20:03 GMT (envelope-from gnats) Resent-Date: Wed, 15 May 2013 13:20:03 GMT Resent-Message-Id: <201305151320.r4FDK34e031737@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Graeme Geldenhuys Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 18E8DBBB for ; Wed, 15 May 2013 13:10:53 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.FreeBSD.org (oldred.freebsd.org [8.8.178.121]) by mx1.freebsd.org (Postfix) with ESMTP id 0C2C7BF0 for ; Wed, 15 May 2013 13:10:53 +0000 (UTC) Received: from oldred.FreeBSD.org ([127.0.1.6]) by oldred.FreeBSD.org (8.14.5/8.14.5) with ESMTP id r4FDApXZ031238 for ; Wed, 15 May 2013 13:10:51 GMT (envelope-from nobody@oldred.FreeBSD.org) Received: (from nobody@localhost) by oldred.FreeBSD.org (8.14.5/8.14.5/Submit) id r4FDApNn031223; Wed, 15 May 2013 13:10:51 GMT (envelope-from nobody) Message-Id: <201305151310.r4FDApNn031223@oldred.FreeBSD.org> Date: Wed, 15 May 2013 13:10:51 GMT From: Graeme Geldenhuys To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: misc/178660: US Programmer Dvorak keyboard layout is broken X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 May 2013 13:20:03 -0000 >Number: 178660 >Category: misc >Synopsis: US Programmer Dvorak keyboard layout is broken >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed May 15 13:20:03 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Graeme Geldenhuys >Release: FreeBSD 9.1 >Organization: >Environment: FreeBSD graeme-desktop 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: I setup my X11 to use the "US Programmer Dvorak" keyboard layout, but I found that the 3rd and 4th state of keys don't work. ie: pressing ralt (AltGr) simply causes the system to beep and doesn't register as the AltGr key. After looking at the /usr/local/share/X11/xkb/symbols/us file I found the problem. For the "dvp" layout, the following line was missing... include "level3(ralt_switch)" thus no AltGr support. Simply adding this line in, and restarting X11 the US Programmer Dvorak layout functioned correctly and I can easily type all the extra symbols like €£¥ëê etc. >How-To-Repeat: Setup your X11's xorg.conf file as follows... Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "XkbModel" "pc104" Option "XkbLayout" "us" Option "XkbVariant" "dvp" EndSection Start X11 and try and type: RAlt+5 which should generate the € symbol. It will not. Any key combination with RAlt or RAlt+Shift will not work, until you apply the fix I mentioned earlier. >Fix: After looking at the /usr/local/share/X11/xkb/symbols/us file I found the problem. For the "dvp" layout, the following line was missing... include "level3(ralt_switch)" >Release-Note: >Audit-Trail: >Unformatted: