misc/178660: US Programmer Dvorak keyboard layout is broken

Graeme Geldenhuys graeme at geldenhuys.co.uk
Wed May 15 13:20:03 UTC 2013


>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 at 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:


More information about the freebsd-bugs mailing list