From nobody@FreeBSD.org  Wed May 15 13:10:53 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
	by hub.freebsd.org (Postfix) with ESMTP id 18E8DBBB
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <graeme@geldenhuys.co.uk>
To: freebsd-gnats-submit@FreeBSD.org
Subject: US Programmer Dvorak keyboard layout is broken
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         178660
>Category:       ports
>Synopsis:       x11-servers/xorg: US Programmer Dvorak keyboard layout is broken
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-x11
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 15 13:20:03 UTC 2013
>Closed-Date:    Tue Jun 04 21:24:05 UTC 2013
>Last-Modified:  Tue Jun 04 21:24:05 UTC 2013
>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:
Responsible-Changed-From-To: freebsd-bugs->freebsd-x11 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Thu May 16 01:33:43 UTC 2013 
Responsible-Changed-Why:  
reclassify and assign. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=178660 

From: Niclas Zeising <zeising@freebsd.org>
To: bug-followup@FreeBSD.org, graeme@geldenhuys.co.uk
Cc:  
Subject: Re: ports/178660: x11-servers/xorg: US Programmer Dvorak keyboard
 layout is broken
Date: Thu, 16 May 2013 10:09:17 +0200

 This seems a problem with upstream software.  Have you tried to report
 it back to freedesktop?
 Regards!
 -- 
 Niclas Zeising

From: Graeme Geldenhuys <graeme@geldenhuys.co.uk>
To: Niclas Zeising <zeising@freebsd.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/178660: x11-servers/xorg: US Programmer Dvorak keyboard
 layout is broken
Date: Thu, 16 May 2013 15:25:16 +0100

 On 2013-05-16 09:09, Niclas Zeising wrote:
 > This seems a problem with upstream software.  Have you tried to report
 > it back to freedesktop?
 
 OK, with some more searching I found the bugtracker for freedesktop.org
 related projects. I reported the bug as follows (using the 'xorg' project):
 
   https://bugs.freedesktop.org/show_bug.cgi?id=64673
 
 
 So I guess this report could be closed in the FreeBSD bug tracker.
 
 
 Regards,
   - Graeme -
 
 

From: Graeme Geldenhuys <graeme@geldenhuys.co.uk>
To: Niclas Zeising <zeising@freebsd.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/178660: x11-servers/xorg: US Programmer Dvorak keyboard
 layout is broken
Date: Thu, 16 May 2013 15:09:58 +0100

 On 2013-05-16 09:09, Niclas Zeising wrote:
 > This seems a problem with upstream software.  Have you tried to report
 > it back to freedesktop?
 
 
 No I haven't. I wasn't sure where to report it, so tried the FreeBSD bug
 tracker first. Do you possibly have a X11 Server / FreeDesktop bug
 tracker URL for me? I found Fedora, OpenSUSE and Ubuntu bug trackers via
 Google. They seem to push X11 bugs (and bugs for other packages shipped
 with those distros) upstream automatically. I don't know if FreeBSD does
 too.
 
 
 
 Regards,
   - Graeme -
 

From: Niclas Zeising <zeising@freebsd.org>
To: Graeme Geldenhuys <graeme@geldenhuys.co.uk>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/178660: x11-servers/xorg: US Programmer Dvorak keyboard
 layout is broken
Date: Thu, 16 May 2013 20:37:36 +0200

 Hi!
 We don't automatically submit bugs upstream, and as far as I know there
 is currently no good way to do it.  The xorg/freedesktop bugzilla can be
 found here: https://bugs.freedesktop.org/
 Regards!
 -- 
 Niclas
State-Changed-From-To: open->closed 
State-Changed-By: zeising 
State-Changed-When: Tue Jun 4 21:24:03 UTC 2013 
State-Changed-Why:  
Fixed in the latest version of xkeyboard-config, which was committed in 
r319910.  Thanks for reporting! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=178660 
>Unformatted:
